Class EnchantedItemCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.EnchantedItemCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- EnchantedItemCriterion
- Mappings:
Namespace Name official bg$a
intermediary net/minecraft/class_2030$class_2032
named net/minecraft/advancement/criterion/EnchantedItemCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions(EntityPredicate.Extended player, ItemPredicate item, NumberRange.IntRange levels)
-
Method Summary
Modifier and TypeMethodDescriptionany()
boolean
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official a
Lbg$a;a:Lbw;
intermediary field_9567
Lnet/minecraft/class_2030$class_2032;field_9567:Lnet/minecraft/class_2073;
named item
Lnet/minecraft/advancement/criterion/EnchantedItemCriterion$Conditions;item:Lnet/minecraft/predicate/item/ItemPredicate;
-
levels
- Mappings:
Namespace Name Mixin selector official b
Lbg$a;b:Lch$d;
intermediary field_9568
Lnet/minecraft/class_2030$class_2032;field_9568:Lnet/minecraft/class_2096$class_2100;
named levels
Lnet/minecraft/advancement/criterion/EnchantedItemCriterion$Conditions;levels:Lnet/minecraft/predicate/NumberRange$IntRange;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, ItemPredicate item, NumberRange.IntRange levels)- Mappings:
Namespace Name Mixin selector official <init>
Lbg$a;<init>(Lbm$b;Lbw;Lch$d;)V
intermediary <init>
Lnet/minecraft/class_2030$class_2032;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073;Lnet/minecraft/class_2096$class_2100;)V
named <init>
Lnet/minecraft/advancement/criterion/EnchantedItemCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/NumberRange$IntRange;)V
-
-
Method Details
-
any
- Mappings:
Namespace Name Mixin selector official c
Lbg$a;c()Lbg$a;
intermediary method_8877
Lnet/minecraft/class_2030$class_2032;method_8877()Lnet/minecraft/class_2030$class_2032;
named any
Lnet/minecraft/advancement/criterion/EnchantedItemCriterion$Conditions;any()Lnet/minecraft/advancement/criterion/EnchantedItemCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lbg$a;a(Lbqp;I)Z
intermediary method_8878
Lnet/minecraft/class_2030$class_2032;method_8878(Lnet/minecraft/class_1799;I)Z
named matches
Lnet/minecraft/advancement/criterion/EnchantedItemCriterion$Conditions;matches(Lnet/minecraft/item/ItemStack;I)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lam;a(Lcq;)Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
-