17class BlockStateGroup {
21 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::CustomBlockStateVariant>>> mRegisteredBlockStates;
22 ::ll::TypedStorage<8, 128, ::BidirectionalUnorderedMap<uint64, ::std::string>> mHashNames;
23 ::ll::TypedStorage<8, 128, ::BidirectionalUnorderedMap<int, uint64>> mIdNames;
24 ::ll::TypedStorage<8, 16, ::std::map<int, ::std::unique_ptr<::BlockStateMeta>>> mBlockStates;
25 ::ll::TypedStorage<8, 16, ::std::map<int, ::std::unique_ptr<::BlockStateMeta>>> mJsonBlockStates;
26 ::ll::TypedStorage<8, 8, uint64> lastStateID;
32 MCAPI BlockStateGroup();
34 MCAPI ::BlockStateMeta
const* getBlockStateFromHash(uint64
const& h)
const;
36 MCAPI ::BlockStateMeta
const* getBlockStateFromName(::std::string
const& name)
const;
40 MCAPI
void registerExistingBlockState(
::BlockState const& state);
42 MCAPI ~BlockStateGroup();
55 MCAPI
static int const& MAX_ENUM_SIZE();