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
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.world.Containerstatic final intstatic final intFields 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
ConstructorsConstructorDescriptionFossilPrepStationMenu(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 TypeMethodDescriptionbooleancanTakeItemForPickAll(net.minecraft.world.item.ItemStack carried, net.minecraft.world.inventory.Slot target) booleanclickMenuButton(net.minecraft.world.entity.player.Player player, int buttonId) intintnet.minecraft.world.inventory.MenuType<?> getType()net.minecraft.world.item.crafting.SelectableRecipe.SingleInputSet<FossilPrepRecipe> booleannet.minecraft.world.item.ItemStackquickMoveStack(net.minecraft.world.entity.player.Player player, int slotIndex) voidregisterUpdateListener(Runnable slotUpdateListener) voidremoved(net.minecraft.world.entity.player.Player player) voidslotsChanged(net.minecraft.world.Container container) booleanstillValid(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
-
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:
stillValidin classnet.minecraft.world.inventory.AbstractContainerMenu
-
clickMenuButton
public boolean clickMenuButton(net.minecraft.world.entity.player.Player player, int buttonId) - Overrides:
clickMenuButtonin classnet.minecraft.world.inventory.AbstractContainerMenu
-
slotsChanged
public void slotsChanged(net.minecraft.world.Container container) - Overrides:
slotsChangedin classnet.minecraft.world.inventory.AbstractContainerMenu
-
getType
public net.minecraft.world.inventory.MenuType<?> getType()- Overrides:
getTypein classnet.minecraft.world.inventory.AbstractContainerMenu
-
registerUpdateListener
-
canTakeItemForPickAll
public boolean canTakeItemForPickAll(net.minecraft.world.item.ItemStack carried, net.minecraft.world.inventory.Slot target) - Overrides:
canTakeItemForPickAllin classnet.minecraft.world.inventory.AbstractContainerMenu
-
quickMoveStack
public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player player, int slotIndex) - Specified by:
quickMoveStackin classnet.minecraft.world.inventory.AbstractContainerMenu
-
removed
public void removed(net.minecraft.world.entity.player.Player player) - Overrides:
removedin classnet.minecraft.world.inventory.AbstractContainerMenu
-