Class WeightedBakedModel
java.lang.Object
net.minecraft.client.resources.model.WeightedBakedModel
- All Implemented Interfaces:
BakedModel
,IForgeBakedModel
,IDynamicBakedModel
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate List<WeightedEntry.Wrapper<BakedModel>>
private int
private BakedModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetParticleIcon(IModelData modelData)
getQuads(BlockState p_119547_, Direction p_119548_, Random p_119549_, IModelData modelData)
handlePerspective(ItemTransforms.TransformType transformType, PoseStack poseStack)
boolean
isAmbientOcclusion(BlockState state)
boolean
boolean
isGui3d()
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.client.model.data.IDynamicBakedModel
getQuads
Methods inherited from interface net.minecraftforge.client.extensions.IForgeBakedModel
doesHandlePerspectives, getLayerModels, getModelData, isLayered
-
Field Details
-
totalWeight
private final int totalWeight -
list
-
wrapped
-
-
Constructor Details
-
WeightedBakedModel
-
-
Method Details
-
getQuads
public List<BakedQuad> getQuads(@Nullable BlockState p_119547_, @Nullable Direction p_119548_, Random p_119549_, IModelData modelData)- Specified by:
getQuads
in interfaceIDynamicBakedModel
- Specified by:
getQuads
in interfaceIForgeBakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusion
in interfaceBakedModel
-
isAmbientOcclusion
- Specified by:
isAmbientOcclusion
in interfaceIForgeBakedModel
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3d
in interfaceBakedModel
-
usesBlockLight
public boolean usesBlockLight()- Specified by:
usesBlockLight
in interfaceBakedModel
-
isCustomRenderer
public boolean isCustomRenderer()- Specified by:
isCustomRenderer
in interfaceBakedModel
-
getParticleIcon
- Specified by:
getParticleIcon
in interfaceBakedModel
-
getParticleIcon
- Specified by:
getParticleIcon
in interfaceIForgeBakedModel
-
getTransforms
- Specified by:
getTransforms
in interfaceBakedModel
-
handlePerspective
public BakedModel handlePerspective(ItemTransforms.TransformType transformType, PoseStack poseStack)- Specified by:
handlePerspective
in interfaceIForgeBakedModel
-
getOverrides
- Specified by:
getOverrides
in interfaceBakedModel
-