net.minecraft.advancements.critereon

public record InventoryChangeTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

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

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final InventoryChangeTrigger$TriggerInstance$Slots
c
slots
comp_2057
slots
private final List<ItemPredicate>
d
items
comp_2058
items
public static final com.mojang.serialization.Codec<InventoryChangeTrigger$TriggerInstance>
a
CODEC
field_47263
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, InventoryChangeTrigger$TriggerInstance$Slots arg1, List<ItemPredicate> arg2)

Method summary

Modifier and TypeMethod
public static Criterion<InventoryChangeTrigger$TriggerInstance>
a(cv$a... arg0)
hasItems(ItemPredicate$Builder... arg0)
method_53160(class_2073$class_2074... arg0)
items(ItemPredicate$Builder... items)
public static Criterion<InventoryChangeTrigger$TriggerInstance>
a(cv... arg0)
hasItems(ItemPredicate... arg0)
method_8957(class_2073... arg0)
items(ItemPredicate... items)
public static Criterion<InventoryChangeTrigger$TriggerInstance>
a(dgi... arg0)
hasItems(ItemLike... arg0)
method_8959(class_1935... arg0)
items(ItemConvertible... items)
public boolean
a(cox arg0, cwq 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)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public InventoryChangeTrigger$TriggerInstance$Slots
b()
slots()
comp_2057()
slots()
public List<ItemPredicate>
c()
items()
comp_2058()
items()