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 bi$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
Lbi$a;a:Lca;
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
Lbi$a;b:Lcj$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
- Mappings:
Namespace Name Mixin selector official <init>
Lbi$a;<init>(Lbo$b;Lca;Lcj$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
Lbi$a;c()Lbi$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
Lbi$a;a(Lcaa;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
Lan;a(Lct;)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;
-