Class ShotCrossbowCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ShotCrossbowCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
ShotCrossbowCriterion
- Mappings:
Namespace Name official cv$a
intermediary net/minecraft/class_2123$class_2125
named net/minecraft/advancement/criterion/ShotCrossbowCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Optional<ItemPredicate> item) create
(ItemConvertible item) 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
Lcv$a;a:Ljava/util/Optional;
intermediary field_9747
Lnet/minecraft/class_2123$class_2125;field_9747:Ljava/util/Optional;
named item
Lnet/minecraft/advancement/criterion/ShotCrossbowCriterion$Conditions;item:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Lcv$a;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2123$class_2125;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/ShotCrossbowCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
create
public static AdvancementCriterion<ShotCrossbowCriterion.Conditions> create(Optional<ItemPredicate> item) - Mappings:
Namespace Name Mixin selector official a
Lcv$a;a(Ljava/util/Optional;)Lam;
intermediary method_35323
Lnet/minecraft/class_2123$class_2125;method_35323(Ljava/util/Optional;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/ShotCrossbowCriterion$Conditions;create(Ljava/util/Optional;)Lnet/minecraft/advancement/AdvancementCriterion;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lcv$a;a(Lcpu;)Lam;
intermediary method_9120
Lnet/minecraft/class_2123$class_2125;method_9120(Lnet/minecraft/class_1935;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/ShotCrossbowCriterion$Conditions;create(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lcv$a;a(Lcjf;)Z
intermediary method_9121
Lnet/minecraft/class_2123$class_2125;method_9121(Lnet/minecraft/class_1799;)Z
named matches
Lnet/minecraft/advancement/criterion/ShotCrossbowCriterion$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;
-