public class SimpleBakedModel extends java.lang.Object implements IBakedModel
Modifier and Type | Class and Description |
---|---|
static class |
SimpleBakedModel.Builder |
Modifier and Type | Field and Description |
---|---|
protected boolean |
ambientOcclusion |
protected ItemCameraTransforms |
cameraTransforms |
protected java.util.Map<EnumFacing,java.util.List<BakedQuad>> |
faceQuads |
protected java.util.List<BakedQuad> |
generalQuads |
protected boolean |
gui3d |
protected ItemOverrideList |
itemOverrideList |
protected TextureAtlasSprite |
texture |
Constructor and Description |
---|
SimpleBakedModel(java.util.List<BakedQuad> generalQuadsIn,
java.util.Map<EnumFacing,java.util.List<BakedQuad>> faceQuadsIn,
boolean ambientOcclusionIn,
boolean gui3dIn,
TextureAtlasSprite textureIn,
ItemCameraTransforms cameraTransformsIn,
ItemOverrideList itemOverrideListIn) |
Modifier and Type | Method and Description |
---|---|
ItemCameraTransforms |
getItemCameraTransforms() |
ItemOverrideList |
getOverrides() |
TextureAtlasSprite |
getParticleTexture() |
java.util.List<BakedQuad> |
getQuads(IBlockState state,
EnumFacing side,
long rand) |
boolean |
isAmbientOcclusion() |
boolean |
isBuiltInRenderer() |
boolean |
isGui3d() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlePerspective, isAmbientOcclusion
protected final java.util.List<BakedQuad> generalQuads
protected final java.util.Map<EnumFacing,java.util.List<BakedQuad>> faceQuads
protected final boolean ambientOcclusion
protected final boolean gui3d
protected final TextureAtlasSprite texture
protected final ItemCameraTransforms cameraTransforms
protected final ItemOverrideList itemOverrideList
public SimpleBakedModel(java.util.List<BakedQuad> generalQuadsIn, java.util.Map<EnumFacing,java.util.List<BakedQuad>> faceQuadsIn, boolean ambientOcclusionIn, boolean gui3dIn, TextureAtlasSprite textureIn, ItemCameraTransforms cameraTransformsIn, ItemOverrideList itemOverrideListIn)
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 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