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 LootContextPredicate
private final ItemPredicate
-
Constructor Summary
ConstructorDescriptionConditions
(LootContextPredicate player, ItemPredicate rod, LootContextPredicate 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:Lbz;
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:Lba;
intermediary field_24391
Lnet/minecraft/class_2058$class_2060;field_24391:Lnet/minecraft/class_5258;
named hookedEntity
Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;hookedEntity:Lnet/minecraft/predicate/entity/LootContextPredicate;
-
caughtItem
- Mappings:
Namespace Name Mixin selector official c
Lbu$a;c:Lbz;
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(LootContextPredicate player, ItemPredicate rod, LootContextPredicate hookedEntity, ItemPredicate caughtItem) - Mappings:
Namespace Name Mixin selector official <init>
Lbu$a;<init>(Lba;Lbz;Lba;Lbz;)V
intermediary <init>
Lnet/minecraft/class_2058$class_2060;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_2073;Lnet/minecraft/class_5258;Lnet/minecraft/class_2073;)V
named <init>
Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;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(Lbz;Lbo;Lbz;)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(Lcfs;Ldzc;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
Lam;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;
-