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

Public Member Functions

virtual ::std::unique_ptr<::Tag > _toNBT (int val) const
virtual ::std::optional< int > _fromNBT (::Tag const &tag) const
MCAPI ::std::unique_ptr<::Tag > $_toNBT (int val) const
MCAPI ::std::optional< int > $_fromNBT (::Tag const &tag) const
MCAPI void toNBT (::CompoundTag &tag, int val) const

Public Attributes

::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ListTag > > mEnumValues
::ll::TypedStorage< 8, 128, ::BidirectionalUnorderedMap< int, uint64 > > mHashIndexMap
::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()

virtual ::std::unique_ptr<::Tag > CustomBlockStateVariant::_toNBT ( int val) const
virtual

Implements BlockState.

◆ _fromNBT()

virtual ::std::optional< int > CustomBlockStateVariant::_fromNBT ( ::Tag const & tag) const
virtual

Implements BlockState.

◆ $_toNBT()

MCAPI ::std::unique_ptr<::Tag > CustomBlockStateVariant::$_toNBT ( 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.

◆ $_fromNBT()

MCAPI ::std::optional< int > CustomBlockStateVariant::$_fromNBT ( ::Tag const & tag) 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.

◆ toNBT()

MCAPI void BlockState::toNBT ( ::CompoundTag & tag,
int val ) const
inherited
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: