Class FilledBucketCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.FilledBucketCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- FilledBucketCriterion
public static class FilledBucketCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official bi$a
intermediary net/minecraft/class_2054$class_2056
named net/minecraft/advancement/criterion/FilledBucketCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private ItemPredicate
item
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, ItemPredicate item)
-
Method Summary
Modifier and Type Method Description static FilledBucketCriterion.Conditions
create(ItemPredicate item)
boolean
matches(ItemStack stack)
JsonObject
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:Lbq;
intermediary field_9616
Lnet/minecraft/class_2054$class_2056;field_9616:Lnet/minecraft/class_2073;
named item
Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;item:Lnet/minecraft/predicate/item/ItemPredicate;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Lbi$a;<init>(Lbg$b;Lbq;)V
intermediary <init>
Lnet/minecraft/class_2054$class_2056;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073;)V
named <init>
Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lbi$a;a(Lbq;)Lbi$a;
intermediary method_8937
Lnet/minecraft/class_2054$class_2056;method_8937(Lnet/minecraft/class_2073;)Lnet/minecraft/class_2054$class_2056;
named create
Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;create(Lnet/minecraft/predicate/item/ItemPredicate;)Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lbi$a;a(Lbnv;)Z
intermediary method_8938
Lnet/minecraft/class_2054$class_2056;method_8938(Lnet/minecraft/class_1799;)Z
named matches
Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;matches(Lnet/minecraft/item/ItemStack;)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lag;a(Lci;)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;
-