Class WeightedBakedModel
java.lang.Object
net.minecraft.client.renderer.model.WeightedBakedModel
- All Implemented Interfaces:
IBakedModel
,IForgeBakedModel
,IDynamicBakedModel
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<WeightedBakedModel.WeightedModel>
private final int
private final IBakedModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetParticleTexture
(IModelData modelData) getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_, IModelData modelData) handlePerspective
(ItemCameraTransforms.TransformType transformType, MatrixStack matrixStack) 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, getBakedModel, 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_200117_1_, @Nullable Direction p_200117_2_, Random p_200117_3_, IModelData modelData) - Specified by:
getQuads
in interfaceIDynamicBakedModel
- Specified by:
getQuads
in interfaceIForgeBakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusion
in interfaceIBakedModel
-
isAmbientOcclusion
- Specified by:
isAmbientOcclusion
in interfaceIForgeBakedModel
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3d
in interfaceIBakedModel
-
usesBlockLight
public boolean usesBlockLight()- Specified by:
usesBlockLight
in interfaceIBakedModel
-
isCustomRenderer
public boolean isCustomRenderer()- Specified by:
isCustomRenderer
in interfaceIBakedModel
-
getParticleIcon
- Specified by:
getParticleIcon
in interfaceIBakedModel
-
getParticleTexture
- Specified by:
getParticleTexture
in interfaceIForgeBakedModel
-
getTransforms
- Specified by:
getTransforms
in interfaceIBakedModel
-
handlePerspective
public IBakedModel handlePerspective(ItemCameraTransforms.TransformType transformType, MatrixStack matrixStack) - Specified by:
handlePerspective
in interfaceIForgeBakedModel
-
getOverrides
- Specified by:
getOverrides
in interfaceIBakedModel
-