Class FishingRodHookedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.FishingRodHookedCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- FishingRodHookedCriterion
public static class FishingRodHookedCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official bk$a
intermediary net/minecraft/class_2058$class_2060
named net/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private ItemPredicate
caughtItem
private EntityPredicate.Extended
hookedEntity
private ItemPredicate
rod
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, ItemPredicate rod, EntityPredicate.Extended hookedEntity, ItemPredicate caughtItem)
-
Method Summary
Modifier and Type Method Description static FishingRodHookedCriterion.Conditions
create(ItemPredicate rod, EntityPredicate bobber, ItemPredicate item)
boolean
matches(ItemStack rod, LootContext hookedEntityContext, Collection<ItemStack> fishingLoots)
JsonObject
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
Lbk$a;a:Lbq;
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
Lbk$a;b:Lbg$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
Lbk$a;c:Lbq;
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>
Lbk$a;<init>(Lbg$b;Lbq;Lbg$b;Lbq;)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
Lbk$a;a(Lbq;Lbg;Lbq;)Lbk$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
Lbk$a;a(Lbnv;Ldei;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
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;
-