Class PlayerEvent.ItemPickupEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
PlayerEvent

public static class PlayerEvent.ItemPickupEvent extends PlayerEvent
  • Field Details

    • originalEntity

      private final ItemEntity originalEntity
      Original EntityItem with current remaining stack size
    • stack

      private final ItemStack stack
      Clone item stack, containing the item and amount picked up
  • Constructor Details

  • Method Details

    • getStack

      public ItemStack getStack()
    • getOriginalEntity

      public ItemEntity getOriginalEntity()