net.minecraft.world.entity.player

public class StackedContents<T>

cqb
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
public final it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap<T>
a
amounts
field_52504
available
f_346904_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
boolean
a(T arg0)
hasAnyAmount(T arg0)
method_61500(T arg0)
hasAny(T input)
m_355448_(T arg0)
boolean
b(T arg0, int arg1)
hasAtLeast(T arg0, int arg1)
method_61503(T arg0, int arg1)
hasAtLeast(T input, int minimum)
m_356115_(T p_365723_, int arg1)
void
c(T arg0, int arg1)
take(T arg0, int arg1)
method_7411(T arg0, int arg1)
consume(T input, int count)
m_36456_(T p_36457_, int arg1)
void
d(T arg0, int arg1)
put(T arg0, int arg1)
method_7401(T arg0, int arg1)
addInput(T input, int count)
m_36484_(T p_36485_, int arg1)
public boolean
a(List<cqb$a<T>> arg0, int arg1, cqb$b<T> arg2)
tryPick(List<StackedContents$IngredientInfo<T>> arg0, int arg1, StackedContents$Output<T> arg2)
method_61502(List<class_1662$class_9873<T>> arg0, int arg1, class_1662$class_9874<T> arg2)
match(List<RecipeMatcher$RawIngredient<T>> ingredients, int quantity, RecipeMatcher$ItemCallback<T> itemCallback)
m_356627_(List<C_1145_$C_345977_<T>> p_363945_, int p_367932_, C_1145_$C_345787_<T> arg2)
public int
b(List<cqb$a<T>> arg0, int arg1, cqb$b<T> arg2)
tryPickAll(List<StackedContents$IngredientInfo<T>> arg0, int arg1, StackedContents$Output<T> arg2)
method_61504(List<class_1662$class_9873<T>> arg0, int arg1, class_1662$class_9874<T> arg2)
countCrafts(List<RecipeMatcher$RawIngredient<T>> ingredients, int max, RecipeMatcher$ItemCallback<T> itemCallback)
m_354231_(List<C_1145_$C_345977_<T>> p_369029_, int p_367758_, C_1145_$C_345787_<T> arg2)
public void
a()
clear()
method_7409()
clear()
m_36453_()
public void
a(T arg0, int arg1)
account(T arg0, int arg1)
method_61501(T arg0, int arg1)
add(T input, int count)
m_354019_(T p_363519_, int arg1)