net.minecraft.screen

public class CrafterScreenHandler

extends ScreenHandler implements ScreenHandlerListener

All mapped superinterfaces:

ScreenHandlerListener

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

Field summary

Modifier and TypeField
protected static final int
SLOT_COUNT
field_46781
field_46781
private static final int
INV_SLOT_START
field_46782
field_46782
private static final int
INV_SLOT_END
field_46783
field_46783
private static final int
USE_ROW_SLOT_START
field_46784
field_46784
private static final int
USE_ROW_SLOT_END
field_46785
field_46785
private final CraftingResultInventory
resultContainer
field_46780
resultInventory
private final PropertyDelegate
containerData
field_46786
propertyDelegate
private final PlayerEntity
player
field_46787
player
private final RecipeInputInventory
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)
method_54459(class_1661 arg0)
addSlots(PlayerInventory playerInventory)
public void
setSlotState(int slotId, boolean isEnabled)
method_54458(int arg0, boolean arg1)
setSlotEnabled(int slot, boolean enabled)
public boolean
isSlotDisabled(int slotId)
method_54461(int arg0)
isSlotDisabled(int slot)
public boolean
isPowered()
method_54462()
isTriggered()
public ItemStack
quickMoveStack(Player player, int slotIndex)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public boolean
stillValid(Player player)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
private void
refreshRecipeResult()
method_54464()
updateResult()
public Inventory
getContainer()
method_54463()
getInputInventory()
public void
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)
method_7633(class_1703 arg0, int arg1, int arg2)
onPropertyUpdate(ScreenHandler arg0, int arg1, int arg2)
private static ItemStack
lambda$refreshRecipeResult$0(CraftingInput arg0, ServerLevel arg1, RecipeHolder arg2)
method_54460(class_9694 arg0, class_3218 arg1, class_8786 arg2)
method_54460(CraftingRecipeInput arg0, ServerWorld arg1, RecipeEntry arg2)