net.minecraft.world.entity.player

public class StackedContents

bwt
net.minecraft.world.entity.player.StackedContents
net.minecraft.class_1662
net.minecraft.recipe.RecipeMatcher
net.minecraft.src.C_1145_
net.minecraft.world.entity.player.AutoRecipeStackManager

Field summary

Modifier and TypeField
private static final int
b
EMPTY
field_30653
field_30653
f_150116_
public final it.unimi.dsi.fastutil.ints.Int2IntMap
a
contents
field_7550
inputs
f_36451_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(cdt arg0)
accountSimpleStack(ItemStack arg0)
method_7404(class_1799 arg0)
addUnenchantedInput(ItemStack stack)
m_36466_(C_1391_ arg0)
public void
b(cdt arg0)
accountStack(ItemStack arg0)
method_7400(class_1799 arg0)
addInput(ItemStack stack)
m_36491_(C_1391_ arg0)
public void
a(cdt arg0, int arg1)
accountStack(ItemStack arg0, int arg1)
method_20478(class_1799 arg0, int arg1)
addInput(ItemStack stack, int maxCount)
m_36468_(C_1391_ p_36470_, int arg1)
public static int
c(cdt arg0)
getStackingIndex(ItemStack arg0)
method_7408(class_1799 arg0)
getItemId(ItemStack stack)
m_36496_(C_1391_ p_36497_)
boolean
b(int arg0)
has(int arg0)
method_7410(int arg0)
contains(int itemId)
m_36482_(int arg0)
int
a(int arg0, int arg1)
take(int arg0, int arg1)
method_7411(int arg0, int arg1)
consume(int itemId, int count)
m_36456_(int p_36458_, int arg1)
void
b(int arg0, int arg1)
put(int arg0, int arg1)
method_7401(int arg0, int arg1)
addInput(int itemId, int count)
m_36484_(int p_36486_, int arg1)
public boolean
a(cgo<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
canCraft(Recipe<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
method_7402(class_1860<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
match(Recipe<?> recipe, it.unimi.dsi.fastutil.ints.IntList output)
m_36475_(C_1469_<?> p_36477_, it.unimi.dsi.fastutil.ints.IntList arg1)
public boolean
a(cgo<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1, int arg2)
canCraft(Recipe<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1, int arg2)
method_7406(class_1860<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1, int arg2)
match(Recipe<?> recipe, it.unimi.dsi.fastutil.ints.IntList output, int multiplier)
m_36478_(C_1469_<?> p_36480_, it.unimi.dsi.fastutil.ints.IntList p_36481_, int arg2)
public int
b(cgo<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
getBiggestCraftableStack(Recipe<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
method_7407(class_1860<?> arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
countCrafts(Recipe<?> recipe, it.unimi.dsi.fastutil.ints.IntList output)
m_36493_(C_1469_<?> p_36495_, it.unimi.dsi.fastutil.ints.IntList arg1)
public int
a(cgo<?> arg0, int arg1, it.unimi.dsi.fastutil.ints.IntList arg2)
getBiggestCraftableStack(Recipe<?> arg0, int arg1, it.unimi.dsi.fastutil.ints.IntList arg2)
method_7403(class_1860<?> arg0, int arg1, it.unimi.dsi.fastutil.ints.IntList arg2)
countCrafts(Recipe<?> recipe, int limit, it.unimi.dsi.fastutil.ints.IntList output)
m_36471_(C_1469_<?> p_36473_, int p_36474_, it.unimi.dsi.fastutil.ints.IntList arg2)
public static ItemStack
a(int arg0)
fromStackingIndex(int arg0)
method_7405(int arg0)
getStackFromId(int itemId)
m_36454_(int p_36455_)
public void
a()
clear()
method_7409()
clear()
m_36453_()