Class MultiPartBakedModel
java.lang.Object
net.minecraft.client.resources.model.MultiPartBakedModel
- All Implemented Interfaces:
BakedModel
,IForgeBakedModel
,IDynamicBakedModel
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BakedModel
protected final boolean
protected final boolean
protected final ItemOverrides
protected final TextureAtlasSprite
private final Map<BlockState,
BitSet> private final List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,
BakedModel>> protected final ItemTransforms
protected final boolean
-
Constructor Summary
ConstructorDescriptionMultiPartBakedModel
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> p_119462_) -
Method Summary
Modifier and TypeMethodDescriptiongetModelData
(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData) Deprecated.getParticleIcon
(IModelData modelData) getQuads
(BlockState p_119465_, Direction p_119466_, Random p_119467_, IModelData modelData) Deprecated.handlePerspective
(ItemTransforms.TransformType transformType, PoseStack poseStack) boolean
boolean
isGui3d()
boolean
boolean
useAmbientOcclusion
(BlockState state) 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, isLayered
-
Field Details
-
selectors
-
hasAmbientOcclusion
protected final boolean hasAmbientOcclusion -
isGui3d
protected final boolean isGui3d -
usesBlockLight
protected final boolean usesBlockLight -
particleIcon
-
transforms
-
overrides
-
selectorCache
-
defaultModel
-
-
Constructor Details
-
MultiPartBakedModel
public MultiPartBakedModel(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> p_119462_)
-
-
Method Details
-
getQuads
public List<BakedQuad> getQuads(@Nullable BlockState p_119465_, @Nullable Direction p_119466_, Random p_119467_, IModelData modelData) - Specified by:
getQuads
in interfaceIDynamicBakedModel
- Specified by:
getQuads
in interfaceIForgeBakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusion
in interfaceBakedModel
-
useAmbientOcclusion
- Specified by:
useAmbientOcclusion
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
Deprecated.- Specified by:
getParticleIcon
in interfaceBakedModel
-
getParticleIcon
- Specified by:
getParticleIcon
in interfaceIForgeBakedModel
-
getTransforms
Deprecated.- 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
-
getModelData
public IModelData getModelData(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData) - Specified by:
getModelData
in interfaceIForgeBakedModel
-