public abstract class BakedModelWrapper<T extends IBakedModel> extends java.lang.Object implements IBakedModel
Modifier and Type | Field and Description |
---|---|
protected T |
originalModel |
Constructor and Description |
---|
BakedModelWrapper(T originalModel) |
Modifier and Type | Method and Description |
---|---|
boolean |
doesHandlePerspectives()
Override to tell the new model loader that it shouldn't wrap this model
|
boolean |
func_230044_c_() |
ItemCameraTransforms |
getItemCameraTransforms() |
IModelData |
getModelData(ILightReader world,
BlockPos pos,
BlockState state,
IModelData tileData) |
ItemOverrideList |
getOverrides() |
TextureAtlasSprite |
getParticleTexture() |
TextureAtlasSprite |
getParticleTexture(IModelData data) |
java.util.List<BakedQuad> |
getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
IBakedModel |
handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
boolean |
isAmbientOcclusion() |
boolean |
isAmbientOcclusion(BlockState state) |
boolean |
isBuiltInRenderer() |
boolean |
isGui3d() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBakedModel
protected final T extends IBakedModel originalModel
public BakedModelWrapper(T originalModel)
public java.util.List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, java.util.Random rand)
getQuads
in interface IBakedModel
public boolean isAmbientOcclusion()
isAmbientOcclusion
in interface IBakedModel
public boolean isAmbientOcclusion(BlockState state)
isAmbientOcclusion
in interface IForgeBakedModel
public boolean isGui3d()
isGui3d
in interface IBakedModel
public boolean func_230044_c_()
func_230044_c_
in interface IBakedModel
public boolean isBuiltInRenderer()
isBuiltInRenderer
in interface IBakedModel
public TextureAtlasSprite getParticleTexture()
getParticleTexture
in interface IBakedModel
public ItemCameraTransforms getItemCameraTransforms()
getItemCameraTransforms
in interface IBakedModel
public ItemOverrideList getOverrides()
getOverrides
in interface IBakedModel
public boolean doesHandlePerspectives()
IForgeBakedModel
doesHandlePerspectives
in interface IForgeBakedModel
public IBakedModel handlePerspective(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat)
handlePerspective
in interface IForgeBakedModel
public TextureAtlasSprite getParticleTexture(@Nonnull IModelData data)
getParticleTexture
in interface IForgeBakedModel
@Nonnull public java.util.List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, @Nonnull java.util.Random rand, @Nonnull IModelData extraData)
getQuads
in interface IForgeBakedModel
@Nonnull public IModelData getModelData(@Nonnull ILightReader world, @Nonnull BlockPos pos, @Nonnull BlockState state, @Nonnull IModelData tileData)
getModelData
in interface IForgeBakedModel