37 ::ll::TypedStorage<8, 32, ::std::string> textureName;
38 ::ll::TypedStorage<4, 4, float> ambientOcclusion;
39 ::ll::TypedStorage<1, 1, ::BlockRenderLayer> renderLayer;
40 ::ll::TypedStorage<1, 1, ::TintMethod> tintMethod;
41 ::ll::TypedStorage<1, 1, ::BlockMaterialInstancePackedBools> packedBools;
49 ::ll::TypedStorage<8, 32, ::std::string> materialName;
50 ::ll::TypedStorage<8, 40, ::BlockMaterialInstancesDescription::BlockMaterialInstanceData> materialInstanceData;
57 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::BlockMaterialInstance>> mMaterials;
58 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::std::string>> mMaterialMappings;
63 BlockMaterialInstancesDescription(BlockMaterialInstancesDescription
const&);
64 BlockMaterialInstancesDescription();
69 virtual ::std::string
const& getName() const ;
75 virtual
bool isNetworkComponent() const ;
77 virtual ::
std::unique_ptr<::
CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const&) const ;
79 virtual
void initializeFromNetwork(::
CompoundTag const& tag, ::cereal::ReflectionCtx const&
ctx) ;
81 virtual
void handleVersionBasedInitialization(::
SemVersion const& originalJsonVersion) ;
87 MCAPI BlockMaterialInstancesDescription(
88 ::
std::
string const& textureName,
89 ::BlockRenderLayer renderLayer,
90 float ambientOcclusion,
92 ::TintMethod tintMethod,
93 bool randomizeUVRotation,
94 bool supportsTextureVariations,
99 MCAPI
bool const isRenderLayerOpaque() const;
101 MCAPI ::BlockMaterialInstancesDescription& operator=(::BlockMaterialInstancesDescription const&);
107 MCAPI static
void bindType(::cereal::ReflectionCtx&
ctx);
110 postParseConstraint(::
Experiments const&, ::Json::Value const& componentJson, ::
SemVersion const& jsonVersion);
116 MCAPI static uint64 const& MATERIALS_LIMIT();
118 MCAPI static ::
std::
string const& NameID();
127 ::
std::
string const& textureName,
128 ::BlockRenderLayer renderLayer,
129 float ambientOcclusion,
131 ::TintMethod tintMethod,
132 bool randomizeUVRotation,
133 bool supportsTextureVariations,
134 bool alphaMaskedTint,
142 MCAPI ::
std::
string const& $getName() const;
148 MCFOLD
bool $isNetworkComponent() const;
150 MCAPI ::
std::unique_ptr<::
CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const&) const;
152 MCAPI
void $initializeFromNetwork(::
CompoundTag const& tag, ::cereal::ReflectionCtx const&
ctx);
154 MCAPI
void $handleVersionBasedInitialization(::
SemVersion const& originalJsonVersion);