public class CompositeModel extends java.lang.Object implements IDynamicBakedModel
修飾子とタイプ | クラスと説明 |
---|---|
static class |
CompositeModel.Geometry |
static class |
CompositeModel.Loader |
static class |
CompositeModel.SubmodelModelData |
修飾子とタイプ | フィールドと説明 |
---|---|
static ModelProperty<CompositeModel.SubmodelModelData> |
SUBMODEL_DATA |
コンストラクタと説明 |
---|
CompositeModel(boolean isGui3d,
boolean isAmbientOcclusion,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> bakedParts,
IModelTransform combinedTransform,
ItemOverrideList overrides) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
doesHandlePerspectives()
Override to tell the new model loader that it shouldn't wrap this model
|
boolean |
func_230044_c_() |
ItemOverrideList |
getOverrides() |
IBakedModel |
getPart(java.lang.String name) |
TextureAtlasSprite |
getParticleTexture() |
java.util.List<BakedQuad> |
getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
IBakedModel |
handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
com.mojang.blaze3d.matrix.MatrixStack mat) |
boolean |
isAmbientOcclusion() |
boolean |
isBuiltInRenderer() |
boolean |
isGui3d() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getQuads
getItemCameraTransforms
getBakedModel, getModelData, getParticleTexture, isAmbientOcclusion
public static final ModelProperty<CompositeModel.SubmodelModelData> SUBMODEL_DATA
public CompositeModel(boolean isGui3d, boolean isAmbientOcclusion, TextureAtlasSprite particle, com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> bakedParts, IModelTransform combinedTransform, ItemOverrideList overrides)
@Nonnull public java.util.List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, @Nonnull java.util.Random rand, @Nonnull IModelData extraData)
getQuads
インタフェース内 IForgeBakedModel
getQuads
インタフェース内 IDynamicBakedModel
public boolean isAmbientOcclusion()
isAmbientOcclusion
インタフェース内 IBakedModel
public boolean isGui3d()
isGui3d
インタフェース内 IBakedModel
public boolean func_230044_c_()
func_230044_c_
インタフェース内 IBakedModel
public boolean isBuiltInRenderer()
isBuiltInRenderer
インタフェース内 IBakedModel
public TextureAtlasSprite getParticleTexture()
getParticleTexture
インタフェース内 IBakedModel
public ItemOverrideList getOverrides()
getOverrides
インタフェース内 IBakedModel
public boolean doesHandlePerspectives()
IForgeBakedModel
doesHandlePerspectives
インタフェース内 IForgeBakedModel
public IBakedModel handlePerspective(ItemCameraTransforms.TransformType cameraTransformType, com.mojang.blaze3d.matrix.MatrixStack mat)
handlePerspective
インタフェース内 IForgeBakedModel
@Nullable public IBakedModel getPart(java.lang.String name)