Class FilledBucketCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.FilledBucketCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
FilledBucketCriterion
- Mappings:
Namespace Name official bu$a
intermediary net/minecraft/class_2054$class_2056
named net/minecraft/advancement/criterion/FilledBucketCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ItemPredicate.Builder builder) boolean
com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official a
Lbu$a;a:Ljava/util/Optional;
intermediary field_9616
Lnet/minecraft/class_2054$class_2056;field_9616:Ljava/util/Optional;
named item
Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;item:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Lbu$a;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2054$class_2056;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
create
public static AdvancementCriterion<FilledBucketCriterion.Conditions> create(ItemPredicate.Builder builder) - Mappings:
Namespace Name Mixin selector official a
Lbu$a;a(Lcb$a;)Lam;
intermediary method_8937
Lnet/minecraft/class_2054$class_2056;method_8937(Lnet/minecraft/class_2073$class_2074;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;create(Lnet/minecraft/predicate/item/ItemPredicate$Builder;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lbu$a;a(Lcjf;)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
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;
-