Module gomint.api

Class PlayerConsumeItemEvent

    • Constructor Detail

      • PlayerConsumeItemEvent

        public PlayerConsumeItemEvent​(EntityPlayer player,
                                      ItemStack itemStack)
        Create a new consumer item event which gets called when a player tires to eat/drink a item
        player - which consumes the item
        itemStack - which gets consumed
    • Method Detail

      • getItemStack

        public ItemStack getItemStack()
        Get the itemstack which should be consumed
        itemstack which should be consumed