Class CloudBrewingInventory

All Implemented Interfaces:
org.cloudburstmc.api.inventory.BrewingInventory, org.cloudburstmc.api.inventory.ContainerInventory, org.cloudburstmc.api.inventory.Inventory

public class CloudBrewingInventory extends CloudContainer implements org.cloudburstmc.api.inventory.BrewingInventory
  • Field Details

  • Constructor Details

    • CloudBrewingInventory

      public CloudBrewingInventory(org.cloudburstmc.api.blockentity.BrewingStand brewingStand)
  • Method Details

    • getHolder

      public org.cloudburstmc.api.blockentity.BrewingStand getHolder()
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.BrewingInventory
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.Inventory
      Overrides:
      getHolder in class BaseInventory
    • getIngredient

      public org.cloudburstmc.api.item.ItemStack getIngredient()
      Specified by:
      getIngredient in interface org.cloudburstmc.api.inventory.BrewingInventory
    • setIngredient

      public void setIngredient(org.cloudburstmc.api.item.ItemStack item)
      Specified by:
      setIngredient in interface org.cloudburstmc.api.inventory.BrewingInventory
    • setFuel

      public void setFuel(org.cloudburstmc.api.item.ItemStack fuel)
      Specified by:
      setFuel in interface org.cloudburstmc.api.inventory.BrewingInventory
    • getFuel

      public org.cloudburstmc.api.item.ItemStack getFuel()
      Specified by:
      getFuel in interface org.cloudburstmc.api.inventory.BrewingInventory
    • onSlotChange

      public void onSlotChange(int index, org.cloudburstmc.api.item.ItemStack before, boolean send)
      Specified by:
      onSlotChange in interface org.cloudburstmc.api.inventory.Inventory
      Overrides:
      onSlotChange in class BaseInventory