net.minecraft.recipebook

public class ServerPlaceRecipe<R extends Recipe<?>>

aks
net.minecraft.recipebook.ServerPlaceRecipe
net.minecraft.class_2955
net.minecraft.unmapped.C_rqdekljo
net.minecraft.recipe.InputSlotFiller
net.minecraft.recipe.InputSlotFiller

Field summary

Modifier and TypeField
private static final int
a
ITEM_NOT_FOUND
field_51523
f_tqmjruaz
field_51523
MISSING_INDEX
private final Inventory
b
inventory
field_13350
f_mmlmkitf
inventory
inventory
private final ServerPlaceRecipe$CraftingMenuAccess<R>
c
menu
field_13348
f_mykbaanb
handler
handler
private final boolean
d
useMaxItems
field_52340
f_smhfaqyt
craftAll
useAllItems
private final int
e
gridWidth
field_52341
f_qyjiucuo
width
width
private final int
f
gridHeight
field_52342
f_esjwwiqu
height
height
private final List<Slot>
g
inputGridSlots
field_52343
f_kjfcpfev
inputSlots
inputSlots
private final List<Slot>
h
slotsToClear
field_52344
f_onjosgzp
slotsToReturn
slotsToClear

Constructor summary

ModifierConstructor
private (ServerPlaceRecipe$CraftingMenuAccess<R> handler, Inventory inventory, boolean craftAll, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn)

Method summary

Modifier and TypeMethod
public static <I extends RecipeInput, R extends Recipe<I>> RecipeBookMenu$PostPlaceAction
a(aks$a<R> arg0, int arg1, int arg2, List<cws> arg3, List<cws> arg4, crb arg5, ddz<R> arg6, boolean arg7, boolean arg8)
placeRecipe(ServerPlaceRecipe$CraftingMenuAccess<R> arg0, int arg1, int arg2, List<Slot> arg3, List<Slot> arg4, Inventory arg5, RecipeHolder<R> arg6, boolean arg7, boolean arg8)
method_61232(class_2955$class_9840<R> arg0, int arg1, int arg2, List<class_1735> arg3, List<class_1735> arg4, class_1661 arg5, class_8786<R> arg6, boolean arg7, boolean arg8)
m_pxhtzyjl(C_rqdekljo$C_wdzsgelo<R> arg0, int arg1, int arg2, List<C_nhvqfffd> arg3, List<C_nhvqfffd> arg4, C_sxzqocrm arg5, C_dscbrwbj<R> arg6, boolean arg7, boolean arg8)
fill(InputSlotFiller$Handler<R> handler, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn, PlayerInventory inventory, RecipeEntry<R> recipe, boolean craftAll, boolean creative)
fill(InputSlotFiller$Handler<R> handler, int width, int height, List<Slot> inputSlots, List<Slot> slotsToClear, PlayerInventory inventory, RecipeHolder<R> recipe, boolean useAllItems, boolean creative)
private RecipeBookMenu$PostPlaceAction
a(ddz<R> arg0, cri arg1)
tryPlaceRecipe(RecipeHolder<R> arg0, StackedItemContents arg1)
method_61233(class_8786<R> arg0, class_9875 arg1)
m_wbiqwmto(C_dscbrwbj<R> arg0, C_fcquvjby arg1)
tryFill(RecipeEntry<R> recipe, RecipeFinder finder)
tryFill(RecipeHolder<R> recipe, RecipeFinder finder)
private void
a()
clearGrid()
method_12822()
m_eludjpso()
returnInputs()
returnInputs()
private void
b(ddz<R> arg0, cri arg1)
placeRecipe(RecipeHolder<R> arg0, StackedItemContents arg1)
method_61235(class_8786<R> arg0, class_9875 arg1)
m_jrqrlblg(C_dscbrwbj<R> arg0, C_fcquvjby arg1)
fill(RecipeEntry<R> recipe, RecipeFinder finder)
fill(RecipeHolder<R> recipe, RecipeFinder finder)
private static int
a(int arg0, List<je<cyz>> arg1)
clampToMaxStackSize(int arg0, List<Holder<Item>> arg1)
method_65781(int arg0, List<class_6880<class_1792>> arg1)
m_vyuqbbxm(int arg0, List<C_cjzoxshv<C_vorddnax>> arg1)
clampToMaxCount(int count, List<RegistryEntry<Item>> entries)
private int
a(int arg0, boolean arg1)
calculateAmountToCraft(int arg0, boolean arg1)
method_61231(int arg0, boolean arg1)
m_fjczeutg(int arg0, boolean arg1)
calculateCraftAmount(int forCraftAll, boolean match)
calculateAmountToCraft(int useAllItems, boolean match)
private int
a(cws arg0, je<cyz> arg1, int arg2)
moveItemToGrid(Slot arg0, Holder<Item> arg1, int arg2)
method_12824(class_1735 arg0, class_6880<class_1792> arg1, int arg2)
m_mnhwpoca(C_nhvqfffd arg0, C_cjzoxshv<C_vorddnax> arg1, int arg2)
fillInputSlot(Slot slot, RegistryEntry<Item> item, int count)
moveToSlot(Slot slot, Holder<Item> item, int amount)
private boolean
b()
testClearGrid()
method_12825()
m_zwgzfhws()
canReturnInputs()
canReturnInputs()
private int
c()
getAmountOfFreeSlotsInInventory()
method_12823()
m_ohlssgdj()
getFreeInventorySlots()
getFreeInventorySlots()