Class GrindstoneContainer
java.lang.Object
net.minecraft.inventory.container.Container
net.minecraft.inventory.container.GrindstoneContainer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IWorldPosCallable
private final IInventory
private final IInventory
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
Constructor Summary
ConstructorDescriptionGrindstoneContainer
(int p_i50080_1_, PlayerInventory p_i50080_2_) GrindstoneContainer
(int p_i50081_1_, PlayerInventory p_i50081_2_, IWorldPosCallable p_i50081_3_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private ItemStack
mergeEnchants
(ItemStack p_217011_1_, ItemStack p_217011_2_) quickMoveStack
(PlayerEntity p_82846_1_, int p_82846_2_) void
removed
(PlayerEntity p_75134_1_) private ItemStack
removeNonCurses
(ItemStack p_217007_1_, int p_217007_2_, int p_217007_3_) void
slotsChanged
(IInventory p_75130_1_) boolean
stillValid
(PlayerEntity p_75145_1_) Methods inherited from class net.minecraft.inventory.container.Container
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, stillValid
-
Field Details
-
resultSlots
-
repairSlots
-
access
-
-
Constructor Details
-
GrindstoneContainer
-
GrindstoneContainer
public GrindstoneContainer(int p_i50081_1_, PlayerInventory p_i50081_2_, IWorldPosCallable p_i50081_3_)
-
-
Method Details
-
slotsChanged
- Overrides:
slotsChanged
in classContainer
-
createResult
private void createResult() -
mergeEnchants
-
removeNonCurses
-
removed
-
stillValid
- Specified by:
stillValid
in classContainer
-
quickMoveStack
- Overrides:
quickMoveStack
in classContainer
-