net.minecraft.world.entity.player

public class StackedContents<T>

cpc
net.minecraft.world.entity.player.StackedContents
net.minecraft.class_1662
net.minecraft.recipe.RecipeMatcher
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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
boolean
b(T arg0, int arg1)
hasAtLeast(T arg0, int arg1)
method_61503(T arg0, int arg1)
hasAtLeast(T input, int minimum)
void
c(T arg0, int arg1)
take(T arg0, int arg1)
method_7411(T arg0, int arg1)
consume(T input, int count)
void
d(T arg0, int arg1)
put(T arg0, int arg1)
method_7401(T arg0, int arg1)
addInput(T input, int count)
public boolean
a(List<? extends cpc$a<T>> arg0, int arg1, cpc$b<T> arg2)
tryPick(List<? extends StackedContents$IngredientInfo<T>> arg0, int arg1, StackedContents$Output<T> arg2)
method_61502(List<? extends class_1662$class_10528<T>> arg0, int arg1, class_1662$class_9874<T> arg2)
match(List<? extends RecipeMatcher$RawIngredient<T>> ingredients, int quantity, RecipeMatcher$ItemCallback<T> itemCallback)
public int
b(List<? extends cpc$a<T>> arg0, int arg1, cpc$b<T> arg2)
tryPickAll(List<? extends StackedContents$IngredientInfo<T>> arg0, int arg1, StackedContents$Output<T> arg2)
method_61504(List<? extends class_1662$class_10528<T>> arg0, int arg1, class_1662$class_9874<T> arg2)
countCrafts(List<? extends RecipeMatcher$RawIngredient<T>> ingredients, int max, RecipeMatcher$ItemCallback<T> itemCallback)
public void
a()
clear()
method_7409()
clear()
public void
a(T arg0, int arg1)
account(T arg0, int arg1)
method_61501(T arg0, int arg1)
add(T input, int count)
List<T>
a(Iterable<? extends cpc$a<T>> arg0)
getUniqueAvailableIngredientItems(Iterable<? extends StackedContents$IngredientInfo<T>> arg0)
method_65794(Iterable<? extends class_1662$class_10528<T>> arg0)
createItemRequirementList(Iterable<? extends RecipeMatcher$RawIngredient<T>> ingredients)
private static <T> boolean
a(Iterable<? extends cpc$a<T>> arg0, T arg1)
anyIngredientMatches(Iterable<? extends StackedContents$IngredientInfo<T>> arg0, T arg1)
method_65795(Iterable<? extends class_1662$class_10528<T>> arg0, T arg1)
anyAccept(Iterable<? extends RecipeMatcher$RawIngredient<T>> ingredients, T item)
public int
a(List<? extends cpc$a<T>> arg0)
getResultUpperBound(List<? extends StackedContents$IngredientInfo<T>> arg0)
method_65796(List<? extends class_1662$class_10528<T>> arg0)
getMaximumCrafts(List<? extends RecipeMatcher$RawIngredient<T>> ingredients)