public class RenderItemInFrameEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Field and Description |
---|---|
private IRenderTypeBuffer |
buffers |
private ItemFrameEntity |
entityItemFrame |
private ItemStack |
item |
private int |
light |
private MatrixStack |
matrix |
private ItemFrameRenderer |
renderer |
Constructor and Description |
---|
RenderItemInFrameEvent(ItemFrameEntity itemFrame,
ItemFrameRenderer renderItemFrame,
MatrixStack matrix,
IRenderTypeBuffer buffers,
int light) |
Modifier and Type | Method and Description |
---|---|
IRenderTypeBuffer |
getBuffers() |
ItemFrameEntity |
getEntityItemFrame() |
ItemStack |
getItem() |
int |
getLight() |
MatrixStack |
getMatrix() |
ItemFrameRenderer |
getRenderer() |
private final ItemStack item
private final ItemFrameEntity entityItemFrame
private final ItemFrameRenderer renderer
private final MatrixStack matrix
private final IRenderTypeBuffer buffers
private final int light
public RenderItemInFrameEvent(ItemFrameEntity itemFrame, ItemFrameRenderer renderItemFrame, MatrixStack matrix, IRenderTypeBuffer buffers, int light)
@Nonnull public ItemStack getItem()
public ItemFrameEntity getEntityItemFrame()
public ItemFrameRenderer getRenderer()
public MatrixStack getMatrix()
public IRenderTypeBuffer getBuffers()
public int getLight()