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