public static class RackMountableRenderEvent.Block extends RackMountableRenderEvent
RackMountableRenderEvent.Block, RackMountableRenderEvent.TileEntity
Modifier and Type | Field and Description |
---|---|
net.minecraft.util.Direction |
side
The front-facing side, i.e.
|
data, mountable, rack
Constructor and Description |
---|
Block(Rack rack,
int mountable,
net.minecraft.nbt.CompoundNBT data,
net.minecraft.util.Direction 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.Direction side
public Block(Rack rack, int mountable, net.minecraft.nbt.CompoundNBT data, net.minecraft.util.Direction side)
public net.minecraft.client.renderer.texture.TextureAtlasSprite getFrontTextureOverride()
public void setFrontTextureOverride(net.minecraft.client.renderer.texture.TextureAtlasSprite texture)
texture
- the texture to use.