Class ConstructBeaconCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ConstructBeaconCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
ConstructBeaconCriterion
- Mappings:
Namespace Name official ba$a
intermediary net/minecraft/class_2006$class_2008
named net/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, NumberRange.IntRange level) -
Method Summary
Modifier and TypeMethodDescriptioncreate()
level
(NumberRange.IntRange level) boolean
matches
(int level) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
level
- Mappings:
Namespace Name Mixin selector official a
Lba$a;a:Lcl$d;
intermediary field_9508
Lnet/minecraft/class_2006$class_2008;field_9508:Lnet/minecraft/class_2096$class_2100;
named level
Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;level:Lnet/minecraft/predicate/NumberRange$IntRange;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Lba$a;<init>(Ljava/util/Optional;Lcl$d;)V
intermediary <init>
Lnet/minecraft/class_2006$class_2008;<init>(Ljava/util/Optional;Lnet/minecraft/class_2096$class_2100;)V
named <init>
Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;<init>(Ljava/util/Optional;Lnet/minecraft/predicate/NumberRange$IntRange;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official c
Lba$a;c()Lam;
intermediary method_35110
Lnet/minecraft/class_2006$class_2008;method_35110()Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;create()Lnet/minecraft/advancement/AdvancementCriterion;
-
level
public static AdvancementCriterion<ConstructBeaconCriterion.Conditions> level(NumberRange.IntRange level) - Mappings:
Namespace Name Mixin selector official a
Lba$a;a(Lcl$d;)Lam;
intermediary method_8818
Lnet/minecraft/class_2006$class_2008;method_8818(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_175;
named level
Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;level(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
public boolean matches(int level) - Mappings:
Namespace Name Mixin selector official a
Lba$a;a(I)Z
intermediary method_8817
Lnet/minecraft/class_2006$class_2008;method_8817(I)Z
named matches
Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;matches(I)Z
-
toJson
public com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;
-