Class GridItemRequest


public class GridItemRequest extends ItemRequest
This class is an ItemRequest that has specifically been generated by a NetworkGrid
  • Constructor Details

    • GridItemRequest

      public GridItemRequest(ItemStack itemStack, int amount, Player player)
      Creates a new GridItemRequest
      Parameters:
      itemStack - The ItemStack requested as template
      amount - The number of items requested
      player - The Player who initiated the request
  • Method Details

    • getPlayer

      public Player getPlayer()
      Returns the Player who initiated this request.
      Returns:
      The Player who initiated this request.