LeviLamina
Loading...
Searching...
No Matches
BlockStateGroup Class Reference

Public Member Functions

MCAPI::BlockStateMeta const * getBlockStateFromHash (uint64 const &h) const
MCAPI::BlockStateMeta const * getBlockStateFromName (::std::string const &name) const
MCAPI void registerBlockStateDefinition (::BlockStateDefinition const &def)
MCAPI void registerExistingBlockState (::BlockState const &state)
MCAPI void * $ctor ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI bool loadBlockStateFromJson (::BlockStateDefinition &blockState, ::std::string const &name, ::Json::Value const &root)
static MCAPI int const & MAX_ENUM_SIZE ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::CustomBlockStateVariant > > > mRegisteredBlockStates
::ll::TypedStorage< 8, 128, ::BidirectionalUnorderedMap< uint64, ::std::string > > mHashNames
::ll::TypedStorage< 8, 128, ::BidirectionalUnorderedMap< int, uint64 > > mIdNames
::ll::TypedStorage< 8, 16, ::std::map< int, ::std::unique_ptr<::BlockStateMeta > > > mBlockStates
::ll::TypedStorage< 8, 16, ::std::map< int, ::std::unique_ptr<::BlockStateMeta > > > mJsonBlockStates
::ll::TypedStorage< 8, 8, uint64 > lastStateID

The documentation for this class was generated from the following file: