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 final ItemPredicate[]
private final MinMaxBounds.Ints
private final MinMaxBounds.Ints
private final MinMaxBounds.Ints
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(ContextAwarePredicate p_286286_, MinMaxBounds.Ints p_286313_, MinMaxBounds.Ints p_286767_, MinMaxBounds.Ints p_286601_, ItemPredicate[] p_286380_) -
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(ContextAwarePredicate p_286286_, MinMaxBounds.Ints p_286313_, MinMaxBounds.Ints p_286767_, MinMaxBounds.Ints p_286601_, ItemPredicate[] p_286380_)
-
-
Method Details
-
hasItems
-
hasItems
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-
matches
-