net.minecraft.recipebook

public class ServerPlaceRecipe<R extends Recipe<?>>

all
net.minecraft.recipebook.ServerPlaceRecipe
net.minecraft.class_2955
net.minecraft.unmapped.C_rqdekljo
net.minecraft.recipe.InputSlotFiller
net.minecraft.recipe.InputSlotFiller
net.minecraft.src.C_5251_
net.minecraft.recipebook.AutoRecipe

Field summary

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

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(all$a<R> arg0, int arg1, int arg2, List<cuy> arg3, List<cuy> arg4, cpv arg5, dci<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)
m_356681_(C_5251_$C_345782_<R> p_361168_, int p_364309_, int p_363223_, List<C_1305_> p_362609_, List<C_1305_> p_366501_, C_1140_ p_367037_, C_290175_<R> p_365886_, boolean p_366586_, boolean p_362700_)
private RecipeBookMenu$PostPlaceAction
a(dci<R> arg0, cqb 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)
m_353670_(C_290175_<R> p_368441_, C_345581_ arg1)
private void
a()
clearGrid()
method_12822()
m_eludjpso()
returnInputs()
returnInputs()
m_179844_()
private void
b(dci<R> arg0, cqb 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)
m_353931_(C_290175_<R> p_365814_, C_345581_ arg1)
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)
m_354421_(int p_364254_, boolean arg1)
private int
a(cuy arg0, jq<cxk> 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)
m_135438_(C_1305_ p_363932_, C_203228_<C_1381_> p_342870_, int arg2)
private boolean
b()
testClearGrid()
method_12825()
m_zwgzfhws()
canReturnInputs()
canReturnInputs()
m_135453_()
private int
c()
getAmountOfFreeSlotsInInventory()
method_12823()
m_ohlssgdj()
getFreeInventorySlots()
getFreeInventorySlots()
m_135454_()