net.minecraft.advancements.critereon

public record InventoryChangeTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<InventoryChangeTrigger$TriggerInstance>
a(cp$a... arg0)
hasItems(ItemPredicate$Builder... arg0)
method_53160(class_2073$class_2074... arg0)
items(ItemPredicate$Builder... items)
m_43199_(C_1529_$C_1530_... p_297239_)
public static Criterion<InventoryChangeTrigger$TriggerInstance>
a(cp... arg0)
hasItems(ItemPredicate... arg0)
method_8957(class_2073... arg0)
items(ItemPredicate... items)
m_43197_(C_1529_... p_43198_)
public static Criterion<InventoryChangeTrigger$TriggerInstance>
a(dbz... arg0)
hasItems(ItemLike... arg0)
method_8959(class_1935... arg0)
items(ItemConvertible... items)
m_295952_(C_1595_... p_298202_)
public boolean
a(cmy arg0, cur 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)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public InventoryChangeTrigger$TriggerInstance$Slots
b()
slots()
comp_2057()
slots()
f_303868_()
public List<ItemPredicate>
c()
items()
comp_2058()
items()
f_303263_()