public abstract class RackMountableRenderEvent
extends cpw.mods.fml.common.eventhandler.Event
RackMountable
s.
When this event is fired, the GL state is set up such that the origin is
the top left corner of the mountable the event was fired for. It's the
event handler's responsibility to not render outside the are of the
mountable (unless that's explicitly what they're going for, of course).Modifier and Type | Class and Description |
---|---|
static class |
RackMountableRenderEvent.Block
Fired when the static rack model is rendered.
|
static class |
RackMountableRenderEvent.TileEntity
Fired when the dynamic rack model is rendered.
|
Modifier and Type | Field and Description |
---|---|
net.minecraft.nbt.NBTTagCompound |
data
Some additional data made available by the mountable.
|
int |
mountable
The index of the mountable in the rack the event is fired for.
|
Rack |
rack
The rack that house the mountable this event is fired for.
|
Constructor and Description |
---|
RackMountableRenderEvent(Rack rack,
int mountable,
net.minecraft.nbt.NBTTagCompound data) |
public final Rack rack
public final int mountable
public final net.minecraft.nbt.NBTTagCompound data
RackMountable.getData()
public RackMountableRenderEvent(Rack rack, int mountable, net.minecraft.nbt.NBTTagCompound data)