LeviLamina
Loading...
Searching...
No Matches
BlockMaterialInstancesDescription Struct Reference
+ Inheritance diagram for BlockMaterialInstancesDescription:

Classes

struct  BlockMaterialData
 
struct  BlockMaterialInstanceData
 

Public Member Functions

virtual::std::string const & getName () const
 
virtual void initializeComponentFromCode (::BlockComponentStorage &blockComponentStorage) const
 
virtual void initializeComponent (::BlockComponentStorage &blockComponentStorage) const
 
virtual bool isNetworkComponent () const
 
virtual ::std::unique_ptr<::CompoundTagbuildNetworkTag (::cereal::ReflectionCtx const &ctx) const
 
virtual void initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
 
virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
MCAPI BlockMaterialInstancesDescription (::BlockMaterialInstancesDescription const &)
 
MCAPI BlockMaterialInstancesDescription (::std::string const &textureName, ::BlockRenderLayer renderLayer, float ambientOcclusion, bool faceDimming, ::TintMethod tintMethod, bool randomizeUVRotation, bool supportsTextureVariations)
 
MCAPI::BlockMaterialInstancesDescription & operator= (::BlockMaterialInstancesDescription const &)
 
MCAPI::BlockMaterialInstancesDescription & operator= (::BlockMaterialInstancesDescription &&)
 
MCAPI void * $ctor ()
 
MCAPI void * $ctor (::BlockMaterialInstancesDescription const &)
 
MCAPI void * $ctor (::std::string const &textureName, ::BlockRenderLayer renderLayer, float ambientOcclusion, bool faceDimming, ::TintMethod tintMethod, bool randomizeUVRotation, bool supportsTextureVariations)
 
MCAPI void $dtor ()
 
MCAPI::std::string const & $getName () const
 
MCFOLD void $initializeComponentFromCode (::BlockComponentStorage &blockComponentStorage) const
 
MCAPI void $initializeComponent (::BlockComponentStorage &blockComponentStorage) const
 
MCFOLD bool $isNetworkComponent () const
 
MCAPI ::std::unique_ptr<::CompoundTag$buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
 
MCAPI void $initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
 
MCAPI void $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
virtual void initializeComponent (::EntityContext &entity) const
 
virtual void initializeComponentFromCode (::EntityContext &entity) const
 
virtual void buildSchema (::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockComponentGroupDescription > > &componentSchema, ::BlockComponentFactory const &factory) const
 
MCFOLD void $initializeComponent (::EntityContext &entity) const
 
MCFOLD void $initializeComponentFromCode (::EntityContext &entity) const
 
MCFOLD void $buildSchema (::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockComponentGroupDescription > > &componentSchema, ::BlockComponentFactory const &factory) const
 

Static Public Member Functions

static MCAPI void bindType (::cereal::ReflectionCtx &ctx)
 
static MCAPI bool postParseConstraint (::Experiments const &experiments, ::Json::Value const &componentJson, ::SemVersion const &jsonVersion)
 
static MCAPI ::std::string const & NameID ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::BlockMaterialInstance > > mMaterials
 
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::std::string > > mMaterialMappings
 
::ll::TypedStorage< 1, 1, bool > mInitializedFromCode
 

Member Function Documentation

◆ initializeComponentFromCode()

virtual void BlockMaterialInstancesDescription::initializeComponentFromCode ( ::BlockComponentStorage & blockComponentStorage) const
virtual

Reimplemented from BlockComponentDescription.

◆ initializeComponent()

virtual void BlockMaterialInstancesDescription::initializeComponent ( ::BlockComponentStorage & blockComponentStorage) const
virtual

Reimplemented from BlockComponentDescription.

◆ isNetworkComponent()

virtual bool BlockMaterialInstancesDescription::isNetworkComponent ( ) const
virtual

Reimplemented from BlockComponentDescription.

◆ initializeFromNetwork()

virtual void BlockMaterialInstancesDescription::initializeFromNetwork ( ::CompoundTag const & tag,
::cereal::ReflectionCtx const & ctx )
virtual

Reimplemented from BlockComponentDescription.

◆ handleVersionBasedInitialization()

virtual void BlockMaterialInstancesDescription::handleVersionBasedInitialization ( ::SemVersion const & originalJsonVersion)
virtual

Reimplemented from BlockComponentDescription.

◆ $vftable()

static MCAPI void ** BlockMaterialInstancesDescription::$vftable ( )
static
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 struct was generated from the following file: