Module gomint.api

Class InventoryCloseEvent


  • public class InventoryCloseEvent
    extends PlayerEvent
    Version:
    1.0
    Author:
    geNAZt
    • Constructor Detail

      • InventoryCloseEvent

        public InventoryCloseEvent​(EntityPlayer player,
                                   Inventory inventory)
        Create a new inventory close event
        Parameters:
        player - which closed the inventory
        inventory - which has been closed
    • Method Detail

      • getInventory

        public Inventory getInventory()
        Get the inventory which is closed
        Returns:
        inventory which used