Class RenderItemInFrameEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderItemInFrameEvent

public class RenderItemInFrameEvent extends net.minecraftforge.eventbus.api.Event
This event is called when an item is rendered in an item frame. You can set canceled to do no further vanilla processing.
  • Field Details

    • itemStack

      private final ItemStack itemStack
    • itemFrameEntity

      private final ItemFrame itemFrameEntity
    • renderer

      private final ItemFrameRenderer renderer
    • poseStack

      private final PoseStack poseStack
    • multiBufferSource

      private final MultiBufferSource multiBufferSource
    • packedLight

      private final int packedLight
  • Constructor Details

  • Method Details

    • getItemStack

      @Nonnull public ItemStack getItemStack()
    • getItemFrameEntity

      public ItemFrame getItemFrameEntity()
    • getRenderer

      public ItemFrameRenderer getRenderer()
    • getPoseStack

      public PoseStack getPoseStack()
    • getMultiBufferSource

      public MultiBufferSource getMultiBufferSource()
    • getPackedLight

      public int getPackedLight()