Class ConstructBeaconTrigger.Instance
- java.lang.Object
-
- net.minecraft.advancements.criterion.CriterionInstance
-
- net.minecraft.advancements.criterion.ConstructBeaconTrigger.Instance
-
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- ConstructBeaconTrigger
public static class ConstructBeaconTrigger.Instance extends CriterionInstance
-
-
Field Summary
Fields Modifier and Type Field Description private MinMaxBounds.IntBound
level
-
Constructor Summary
Constructors Constructor Description Instance(EntityPredicate.AndPredicate p_i231507_1_, MinMaxBounds.IntBound p_i231507_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConstructBeaconTrigger.Instance
constructedBeacon(MinMaxBounds.IntBound p_203912_0_)
boolean
matches(BeaconTileEntity p_192252_1_)
com.google.gson.JsonObject
serializeToJson(ConditionArraySerializer p_230240_1_)
-
Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
-
-
-
Field Detail
-
level
private final MinMaxBounds.IntBound level
-
-
Constructor Detail
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231507_1_, MinMaxBounds.IntBound p_i231507_2_)
-
-
Method Detail
-
constructedBeacon
public static ConstructBeaconTrigger.Instance constructedBeacon(MinMaxBounds.IntBound p_203912_0_)
-
matches
public boolean matches(BeaconTileEntity p_192252_1_)
-
serializeToJson
public com.google.gson.JsonObject serializeToJson(ConditionArraySerializer p_230240_1_)
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-
-