public class RenderItemInFrameEvent extends Event
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private EntityItemFrame |
entityItemFrame |
private ItemStack |
item |
private RenderItemFrame |
renderer |
Constructor and Description |
---|
RenderItemInFrameEvent(EntityItemFrame itemFrame,
RenderItemFrame renderItemFrame) |
Modifier and Type | Method and Description |
---|---|
EntityItemFrame |
getEntityItemFrame() |
ItemStack |
getItem() |
RenderItemFrame |
getRenderer() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final ItemStack item
private final EntityItemFrame entityItemFrame
private final RenderItemFrame renderer
public RenderItemInFrameEvent(EntityItemFrame itemFrame, RenderItemFrame renderItemFrame)
@Nonnull public ItemStack getItem()
public EntityItemFrame getEntityItemFrame()
public RenderItemFrame getRenderer()