Class MultipartBakedModel
java.lang.Object
net.minecraft.client.renderer.model.MultipartBakedModel
- All Implemented Interfaces:
IBakedModel
,IForgeBakedModel
,IDynamicBakedModel
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IBakedModel
protected final boolean
protected final boolean
protected final ItemOverrideList
protected final TextureAtlasSprite
private final Map<BlockState,
BitSet> private final List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,
IBakedModel>> protected final ItemCameraTransforms
protected final boolean
-
Constructor Summary
ConstructorDescriptionMultipartBakedModel
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, IBakedModel>> p_i48273_1_) -
Method Summary
Modifier and TypeMethodDescriptiongetModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) Deprecated.getParticleTexture
(IModelData modelData) getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_, IModelData modelData) Deprecated.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, isLayered
-
Field Details
-
selectors
private final List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,IBakedModel>> 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>, IBakedModel>> p_i48273_1_)
-
-
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
Deprecated.- Specified by:
getParticleIcon
in interfaceIBakedModel
-
getParticleTexture
- Specified by:
getParticleTexture
in interfaceIForgeBakedModel
-
getTransforms
Deprecated.- 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
-
getModelData
public IModelData getModelData(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) - Specified by:
getModelData
in interfaceIForgeBakedModel
-