net.minecraft.screen

public class CrafterScreenHandler

extends ScreenHandler implements ScreenHandlerListener

All mapped superinterfaces:

ScreenHandlerListener

net.minecraft.world.inventory.CrafterMenu
net.minecraft.world.inventory.CrafterMenu
net.minecraft.class_8881
net.minecraft.screen.CrafterScreenHandler

Field summary

Modifier and TypeField
protected static final int
SLOT_COUNT
SLOT_COUNT
field_46781
field_46781
private static final int
INV_SLOT_START
INV_SLOT_START
field_46782
field_46782
private static final int
INV_SLOT_END
INV_SLOT_END
field_46783
field_46783
private static final int
USE_ROW_SLOT_START
USE_ROW_SLOT_START
field_46784
field_46784
private static final int
USE_ROW_SLOT_END
USE_ROW_SLOT_END
field_46785
field_46785
private final CraftingResultInventory
resultContainer
resultContainer
field_46780
resultInventory
private final PropertyDelegate
containerData
containerData
field_46786
propertyDelegate
private final PlayerEntity
player
player
field_46787
player
private final RecipeInputInventory
container
container
field_46788
inputInventory

Constructor summary

ModifierConstructor
public (int syncId, PlayerInventory playerInventory)
public (int syncId, PlayerInventory playerInventory, RecipeInputInventory inputInventory, PropertyDelegate propertyDelegate)

Method summary

Modifier and TypeMethod
private void
addSlots(Inventory inventory)
addSlots(Inventory inventory)
method_54459(class_1661 arg0)
addSlots(PlayerInventory playerInventory)
public void
setSlotState(int slotId, boolean isEnabled)
setSlotState(int slotId, boolean isEnabled)
method_54458(int arg0, boolean arg1)
setSlotEnabled(int slot, boolean enabled)
public boolean
isSlotDisabled(int slotId)
isSlotDisabled(int slotId)
method_54461(int arg0)
isSlotDisabled(int slot)
public boolean
isPowered()
isPowered()
method_54462()
isTriggered()
public ItemStack
quickMoveStack(Player player, int slotIndex)
quickMoveStack(Player player, int slotIndex)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public boolean
stillValid(Player player)
stillValid(Player player)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
private void
refreshRecipeResult()
refreshRecipeResult()
method_54464()
updateResult()
public Inventory
getContainer()
getContainer()
method_54463()
getInputInventory()
public void
slotChanged(AbstractContainerMenu container, int slotIndex, ItemStack itemStack)
slotChanged(AbstractContainerMenu container, int slotIndex, ItemStack itemStack)
method_7635(class_1703 arg0, int arg1, class_1799 arg2)
onSlotUpdate(ScreenHandler arg0, int arg1, ItemStack arg2)
public void
dataChanged(AbstractContainerMenu container, int id, int value)
dataChanged(AbstractContainerMenu container, int id, int value)
method_7633(class_1703 arg0, int arg1, int arg2)
onPropertyUpdate(ScreenHandler arg0, int arg1, int arg2)