net.minecraft.advancements.critereon

public class InventoryChangeTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

CriterionTriggerInstance

bx$a
net.minecraft.advancements.critereon.InventoryChangeTrigger$TriggerInstance
net.minecraft.class_2066$class_2068
net.minecraft.advancement.criterion.InventoryChangedCriterion$Conditions
net.minecraft.src.C_1419_
net.minecraft.advancements.critereon.CriterionTriggerInventoryChanged$a

Field summary

Modifier and TypeField
private final MinMaxBounds$Ints
a
slotsOccupied
field_9629
occupied
f_43176_
private final MinMaxBounds$Ints
b
slotsFull
field_9630
full
f_43177_
private final MinMaxBounds$Ints
c
slotsEmpty
field_9631
empty
f_43178_
private final ItemPredicate[]
d
predicates
field_9632
items
f_43179_

Constructor summary

ModifierConstructor
public (EntityPredicate$Composite player, MinMaxBounds$Ints occupied, MinMaxBounds$Ints full, MinMaxBounds$Ints empty, ItemPredicate[] items)

Method summary

Modifier and TypeMethod
public static InventoryChangeTrigger$TriggerInstance
a(ca... arg0)
hasItems(ItemPredicate... arg0)
method_8957(class_2073... arg0)
items(ItemPredicate... items)
m_43197_(C_1529_... p_43198_)
public static InventoryChangeTrigger$TriggerInstance
a(cgw... arg0)
hasItems(ItemLike... arg0)
method_8959(class_1935... arg0)
items(ItemConvertible... items)
m_43199_(C_1595_... p_43200_)
public com.google.gson.JsonObject
a(ct arg0)
serializeToJson(SerializationContext arg0)
method_807(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer arg0)
m_7683_(C_2205_ arg0)
public boolean
a(bub arg0, cax arg1, int arg2, int arg3, int arg4)
matches(Inventory arg0, ItemStack arg1, int arg2, int arg3, int arg4)
method_8958(class_1661 arg0, class_1799 arg1, int arg2, int arg3, int arg4)
matches(PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied)
m_43186_(C_1140_ p_43188_, C_1391_ p_43189_, int p_43190_, int p_43191_, int arg4)