Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockState Class Referenceabstract
Inheritance diagram for BlockState:

Classes

struct  StateListNode

Public Member Functions

constexpr BlockState (uint64 id, uint64 variationCount, ::HashedString const &name, ::BlockState::StateListNode const &node)
virtual ::std::unique_ptr<::Tag > _toNBT (int val) const =0
virtual ::std::optional< int > _fromNBT (::Tag const &tag) const =0
MCAPI void toNBT (::CompoundTag &tag, int val) const

Public Attributes

::ll::TypedStorage< 8, 8, uint64 const > mID
::ll::TypedStorage< 8, 8, uint64 const > mVariationCount
::ll::TypedStorage< 8, 48, ::HashedString const > mName
::ll::TypedStorage< 8, 24, ::BlockState::StateListNode > mNode

Member Function Documentation

◆ toNBT()

MCAPI void BlockState::toNBT ( ::CompoundTag & tag,
int val ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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