Class FishingRodHookedCriterion

All Implemented Interfaces:
Criterion<FishingRodHookedCriterion.Conditions>

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

    • FishingRodHookedCriterion

      public FishingRodHookedCriterion()
  • Method Details

    • getConditionsCodec

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

      public void trigger(ServerPlayerEntity player, ItemStack rod, FishingBobberEntity bobber, Collection<ItemStack> fishingLoots)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Lcd;a(Lasi;Lcxo;Lcql;Ljava/util/Collection;)V