LeviLamina
Loading...
Searching...
No Matches
BlockStateGroup.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockState;
10namespace Json { class Value; }
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 BlockStateGroup& operator=(BlockStateGroup const&);
29
30public:
31 // member functions
32 // NOLINTBEGIN
34
35 MCNAPI ::BlockStateMeta const* getBlockStateFromHash(uint64 const& h) const;
36
38
39 MCNAPI void registerExistingBlockState(::BlockState const& state);
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static bool
46 loadBlockStateFromJson(::BlockStateDefinition& blockState, ::std::string const& name, ::Json::Value const& root);
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCNAPI static int const& MAX_ENUM_SIZE();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCNAPI void* $ctor();
59 // NOLINTEND
60};
Definition BlockStateGroup.h:13
MCAPI void * $ctor()
MCAPI void registerExistingBlockState(::BlockState const &state)
MCAPI BlockStateGroup()
MCAPI::BlockStateMeta const * getBlockStateFromHash(uint64 const &h) const
static MCAPI bool loadBlockStateFromJson(::BlockStateDefinition &blockState, ::std::string const &name, ::Json::Value const &root)
static MCAPI int const & MAX_ENUM_SIZE()
MCAPI void registerBlockStateDefinition(::BlockStateDefinition const &def)
Definition BlockStateMeta.h:5
Definition BlockState.h:13
Definition Value.h:16
Definition BlockStateDefinition.h:5
Definition Alias.h:14