net.minecraft.recipebook

public class ServerPlaceRecipe<R extends Recipe<?>>

all
net.minecraft.recipebook.ServerPlaceRecipe
net.minecraft.class_2955
net.minecraft.recipe.InputSlotFiller
net.minecraft.recipebook.AutoRecipe

Field summary

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

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<cuz> arg3, List<cuz> arg4, cpw arg5, dcj<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)
fill(InputSlotFiller$Handler<R> handler, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn, PlayerInventory inventory, RecipeEntry<R> recipe, boolean craftAll, boolean creative)
private RecipeBookMenu$PostPlaceAction
a(dcj<R> arg0, cqc arg1)
tryPlaceRecipe(RecipeHolder<R> arg0, StackedItemContents arg1)
method_61233(class_8786<R> arg0, class_9875 arg1)
tryFill(RecipeEntry<R> recipe, RecipeFinder finder)
private void
a()
clearGrid()
method_12822()
returnInputs()
private void
b(dcj<R> arg0, cqc arg1)
placeRecipe(RecipeHolder<R> arg0, StackedItemContents arg1)
method_61235(class_8786<R> arg0, class_9875 arg1)
fill(RecipeEntry<R> recipe, RecipeFinder finder)
private int
a(int arg0, boolean arg1)
calculateAmountToCraft(int arg0, boolean arg1)
method_61231(int arg0, boolean arg1)
calculateCraftAmount(int forCraftAll, boolean match)
private int
a(cuz arg0, jq<cxl> arg1, int arg2)
moveItemToGrid(Slot arg0, Holder<Item> arg1, int arg2)
method_12824(class_1735 arg0, class_6880<class_1792> arg1, int arg2)
fillInputSlot(Slot slot, RegistryEntry<Item> item, int count)
private boolean
b()
testClearGrid()
method_12825()
canReturnInputs()
private int
c()
getAmountOfFreeSlotsInInventory()
method_12823()
getFreeInventorySlots()