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 |
---|---|
ItemCameraTransforms |
getItemCameraTransforms() |
ItemOverrideList |
getOverrides() |
TextureAtlasSprite |
getParticleTexture() |
java.util.List<BakedQuad> |
getQuads(IBlockState state,
EnumFacing side,
long rand) |
org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> |
handlePerspective(ItemCameraTransforms.TransformType cameraTransformType) |
boolean |
isAmbientOcclusion() |
boolean |
isAmbientOcclusion(IBlockState state) |
boolean |
isBuiltInRenderer() |
boolean |
isGui3d() |
protected final T extends IBakedModel originalModel
public BakedModelWrapper(T originalModel)
public java.util.List<BakedQuad> getQuads(@Nullable IBlockState state, @Nullable EnumFacing side, long rand)
getQuads
in interface IBakedModel
public boolean isAmbientOcclusion()
isAmbientOcclusion
in interface IBakedModel
public boolean isAmbientOcclusion(IBlockState state)
isAmbientOcclusion
in interface IBakedModel
public boolean isGui3d()
isGui3d
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 org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType)
handlePerspective
in interface IBakedModel