Class ConstructBeaconTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.ConstructBeaconTrigger.TriggerInstance
- All Implemented Interfaces:
SimpleCriterionTrigger.SimpleInstance
,CriterionTriggerInstance
- Enclosing class:
- ConstructBeaconTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> p_297785_, MinMaxBounds.Ints p_286272_) -
Method Summary
Modifier and TypeMethodDescriptionconstructedBeacon
(MinMaxBounds.Ints p_22766_) boolean
matches
(int p_148033_) com.google.gson.JsonObject
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
playerPredicate
-
Field Details
-
level
-
-
Constructor Details
-
TriggerInstance
-
-
Method Details
-
constructedBeacon
-
constructedBeacon
public static Criterion<ConstructBeaconTrigger.TriggerInstance> constructedBeacon(MinMaxBounds.Ints p_22766_) -
matches
public boolean matches(int p_148033_) -
serializeToJson
public com.google.gson.JsonObject serializeToJson()- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-