18class BlockStateGroup {
22 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::CustomBlockStateVariant>>> mRegisteredBlockStates;
23 ::ll::TypedStorage<8, 128, ::BidirectionalUnorderedMap<uint64, ::std::string>> mHashNames;
24 ::ll::TypedStorage<8, 128, ::BidirectionalUnorderedMap<int, uint64>> mIdNames;
25 ::ll::TypedStorage<8, 16, ::std::map<int, ::std::unique_ptr<::BlockStateMeta>>> mBlockStates;
26 ::ll::TypedStorage<8, 16, ::std::map<int, ::std::unique_ptr<::BlockStateMeta>>> mJsonBlockStates;
27 ::ll::TypedStorage<8, 8, uint64> lastStateID;
33 MCAPI BlockStateGroup();
35 MCAPI ::BlockStateMeta
const* getBlockStateFromHash(uint64
const& h)
const;
37 MCAPI ::BlockStateMeta
const* getBlockStateFromName(::std::string
const& name)
const;
41 MCAPI
void registerExistingBlockState(
::BlockState const& state);
45 MCAPI ~BlockStateGroup();