Class FishingRodHookedCriterion

All Implemented Interfaces:
Criterion<FishingRodHookedCriterion.Conditions>

public class FishingRodHookedCriterion extends AbstractCriterion<FishingRodHookedCriterion.Conditions>
Mappings:
Namespace Name
official bv
intermediary net/minecraft/class_2058
named net/minecraft/advancement/criterion/FishingRodHookedCriterion
  • Constructor Details

    • FishingRodHookedCriterion

      public FishingRodHookedCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<FishingRodHookedCriterion.Conditions> getConditionsCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Lap;a()Lcom/mojang/serialization/Codec;
      intermediary method_54937 Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
      named getConditionsCodec Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, ItemStack rod, FishingBobberEntity bobber, Collection<ItemStack> fishingLoots)
      Mappings:
      Namespace Name Mixin selector
      official a Lbv;a(Lane;Lcmy;Lcfw;Ljava/util/Collection;)V
      intermediary method_8939 Lnet/minecraft/class_2058;method_8939(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;Lnet/minecraft/class_1536;Ljava/util/Collection;)V
      named trigger Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/projectile/FishingBobberEntity;Ljava/util/Collection;)V