Class ConstructBeaconCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ConstructBeaconCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- ConstructBeaconCriterion
public static class ConstructBeaconCriterion.Conditions extends AbstractCriterionConditions
-
Field Summary
Fields Modifier and Type Field Description private NumberRange.IntRange
level
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, NumberRange.IntRange level)
-
Method Summary
Modifier and Type Method Description static ConstructBeaconCriterion.Conditions
level(NumberRange.IntRange level)
boolean
matches(int int2)
JsonObject
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
level
-
-
Constructor Details
-
Conditions
-
-
Method Details
-
level
-
matches
public boolean matches(int int2) -
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
-