Class FishingRodHookedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.FishingRodHookedCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
FishingRodHookedCriterion
- Mappings:
Namespace Name official bu$a
intermediary net/minecraft/class_2058$class_2060
named net/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ItemPredicate
private final EntityPredicate.Extended
private final ItemPredicate
-
Constructor Summary
ConstructorDescriptionConditions
(EntityPredicate.Extended player, ItemPredicate rod, EntityPredicate.Extended hookedEntity, ItemPredicate caughtItem) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ItemPredicate rod, EntityPredicate bobber, ItemPredicate item) boolean
matches
(ItemStack rod, LootContext hookedEntityContext, Collection<ItemStack> fishingLoots) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
rod
- Mappings:
Namespace Name Mixin selector official a
Lbu$a;a:Lca;
intermediary field_9621
Lnet/minecraft/class_2058$class_2060;field_9621:Lnet/minecraft/class_2073;
named rod
Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;rod:Lnet/minecraft/predicate/item/ItemPredicate;
-
hookedEntity
- Mappings:
Namespace Name Mixin selector official b
Lbu$a;b:Lbo$b;
intermediary field_24391
Lnet/minecraft/class_2058$class_2060;field_24391:Lnet/minecraft/class_2048$class_5258;
named hookedEntity
Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;hookedEntity:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
caughtItem
- Mappings:
Namespace Name Mixin selector official c
Lbu$a;c:Lca;
intermediary field_9623
Lnet/minecraft/class_2058$class_2060;field_9623:Lnet/minecraft/class_2073;
named caughtItem
Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;caughtItem:Lnet/minecraft/predicate/item/ItemPredicate;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, ItemPredicate rod, EntityPredicate.Extended hookedEntity, ItemPredicate caughtItem) - Mappings:
Namespace Name Mixin selector official <init>
Lbu$a;<init>(Lbo$b;Lca;Lbo$b;Lca;)V
intermediary <init>
Lnet/minecraft/class_2058$class_2060;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073;)V
named <init>
Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate;)V
-
-
Method Details
-
create
public static FishingRodHookedCriterion.Conditions create(ItemPredicate rod, EntityPredicate bobber, ItemPredicate item) - Mappings:
Namespace Name Mixin selector official a
Lbu$a;a(Lca;Lbo;Lca;)Lbu$a;
intermediary method_8947
Lnet/minecraft/class_2058$class_2060;method_8947(Lnet/minecraft/class_2073;Lnet/minecraft/class_2048;Lnet/minecraft/class_2073;)Lnet/minecraft/class_2058$class_2060;
named create
Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;create(Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/item/ItemPredicate;)Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;
-
matches
public boolean matches(ItemStack rod, LootContext hookedEntityContext, Collection<ItemStack> fishingLoots) - Mappings:
Namespace Name Mixin selector official a
Lbu$a;a(Lcaa;Ldrf;Ljava/util/Collection;)Z
intermediary method_27810
Lnet/minecraft/class_2058$class_2060;method_27810(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;Ljava/util/Collection;)Z
named matches
Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;matches(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;Ljava/util/Collection;)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;
-