Class FossilPrepStationMenu

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.blamejared.dustydiscoveries.world.inventory.FossilPrepStationMenu

public class FossilPrepStationMenu extends net.minecraft.world.inventory.AbstractContainerMenu
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.world.Container
     
    static final int
     
    static final int
     

    Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu

    CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, SLOT_SIZE, slots, SLOTS_PER_ROW
  • Constructor Summary

    Constructors
    Constructor
    Description
    FossilPrepStationMenu(int containerId, net.minecraft.world.entity.player.Inventory inventory)
     
    FossilPrepStationMenu(int containerId, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.world.inventory.ContainerLevelAccess access)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canTakeItemForPickAll(net.minecraft.world.item.ItemStack carried, net.minecraft.world.inventory.Slot target)
     
    boolean
    clickMenuButton(net.minecraft.world.entity.player.Player player, int buttonId)
     
    int
     
    int
     
    net.minecraft.world.inventory.MenuType<?>
     
    net.minecraft.world.item.crafting.SelectableRecipe.SingleInputSet<FossilPrepRecipe>
     
    boolean
     
    net.minecraft.world.item.ItemStack
    quickMoveStack(net.minecraft.world.entity.player.Player player, int slotIndex)
     
    void
    registerUpdateListener(Runnable slotUpdateListener)
     
    void
    removed(net.minecraft.world.entity.player.Player player)
     
    void
    slotsChanged(net.minecraft.world.Container container)
     
    boolean
    stillValid(net.minecraft.world.entity.player.Player player)
     

    Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu

    addDataSlot, addDataSlots, addInventoryExtendedSlots, addInventoryHotbarSlots, addSlot, addSlotListener, addStandardInventorySlots, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clicked, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotUnsafe, setSelectedBundleItemIndex, setSynchronizer, stillValid, suppressRemoteUpdates, transferState

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INPUT_SLOT

      public static final int INPUT_SLOT
      See Also:
    • RESULT_SLOT

      public static final int RESULT_SLOT
      See Also:
    • container

      public final net.minecraft.world.Container container
  • Constructor Details

    • FossilPrepStationMenu

      public FossilPrepStationMenu(int containerId, net.minecraft.world.entity.player.Inventory inventory)
    • FossilPrepStationMenu

      public FossilPrepStationMenu(int containerId, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.world.inventory.ContainerLevelAccess access)
  • Method Details

    • getSelectedRecipeIndex

      public int getSelectedRecipeIndex()
    • getVisibleRecipes

      public net.minecraft.world.item.crafting.SelectableRecipe.SingleInputSet<FossilPrepRecipe> getVisibleRecipes()
    • getNumberOfVisibleRecipes

      public int getNumberOfVisibleRecipes()
    • hasInputItem

      public boolean hasInputItem()
    • stillValid

      public boolean stillValid(net.minecraft.world.entity.player.Player player)
      Specified by:
      stillValid in class net.minecraft.world.inventory.AbstractContainerMenu
    • clickMenuButton

      public boolean clickMenuButton(net.minecraft.world.entity.player.Player player, int buttonId)
      Overrides:
      clickMenuButton in class net.minecraft.world.inventory.AbstractContainerMenu
    • slotsChanged

      public void slotsChanged(net.minecraft.world.Container container)
      Overrides:
      slotsChanged in class net.minecraft.world.inventory.AbstractContainerMenu
    • getType

      public net.minecraft.world.inventory.MenuType<?> getType()
      Overrides:
      getType in class net.minecraft.world.inventory.AbstractContainerMenu
    • registerUpdateListener

      public void registerUpdateListener(Runnable slotUpdateListener)
    • canTakeItemForPickAll

      public boolean canTakeItemForPickAll(net.minecraft.world.item.ItemStack carried, net.minecraft.world.inventory.Slot target)
      Overrides:
      canTakeItemForPickAll in class net.minecraft.world.inventory.AbstractContainerMenu
    • quickMoveStack

      public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player player, int slotIndex)
      Specified by:
      quickMoveStack in class net.minecraft.world.inventory.AbstractContainerMenu
    • removed

      public void removed(net.minecraft.world.entity.player.Player player)
      Overrides:
      removed in class net.minecraft.world.inventory.AbstractContainerMenu