Class InventoryChangeTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.InventoryChangeTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- InventoryChangeTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprivate ItemPredicate[]
private MinMaxBounds.Ints
private MinMaxBounds.Ints
private MinMaxBounds.Ints
-
Constructor Summary
ConstructorDescriptionTriggerInstance(EntityPredicate.Composite p_43181_, MinMaxBounds.Ints p_43182_, MinMaxBounds.Ints p_43183_, MinMaxBounds.Ints p_43184_, ItemPredicate[] p_43185_)
-
Method Summary
Modifier and TypeMethodDescriptionhasItems(ItemPredicate... p_43198_)
boolean
com.google.gson.JsonObject
serializeToJson(SerializationContext p_43196_)
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
slotsOccupied
-
slotsFull
-
slotsEmpty
-
predicates
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(EntityPredicate.Composite p_43181_, MinMaxBounds.Ints p_43182_, MinMaxBounds.Ints p_43183_, MinMaxBounds.Ints p_43184_, ItemPredicate[] p_43185_)
-
-
Method Details
-
hasItems
-
hasItems
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-
matches
-