public abstract class RackMountableRenderEvent
extends net.minecraftforge.eventbus.api.Event
RackMountable
s.
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.CompoundNBT |
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.CompoundNBT data) |
public final Rack rack
public final int mountable
public final net.minecraft.nbt.CompoundNBT data
RackMountable.getData()
public RackMountableRenderEvent(Rack rack, int mountable, net.minecraft.nbt.CompoundNBT data)