public static class RackMountableRenderEvent.Block extends RackMountableRenderEvent
RackMountableRenderEvent.Block, RackMountableRenderEvent.TileEntity| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.EnumFacing |
side
The front-facing side, i.e.
|
data, mountable, rack| Constructor and Description |
|---|
Block(Rack rack,
int mountable,
net.minecraft.nbt.NBTTagCompound data,
net.minecraft.util.EnumFacing side) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getFrontTextureOverride()
The texture currently set to use for the front of the mountable, or null.
|
void |
setFrontTextureOverride(net.minecraft.client.renderer.texture.TextureAtlasSprite texture)
Set the texture to use for the front of the mountable.
|
public final net.minecraft.util.EnumFacing side
public Block(Rack rack, int mountable, net.minecraft.nbt.NBTTagCompound data, net.minecraft.util.EnumFacing side)
public net.minecraft.client.renderer.texture.TextureAtlasSprite getFrontTextureOverride()
public void setFrontTextureOverride(net.minecraft.client.renderer.texture.TextureAtlasSprite texture)
texture - the texture to use.