Class ShotCrossbowCriterion

All Implemented Interfaces:
Criterion<ShotCrossbowCriterion.Conditions>

public class ShotCrossbowCriterion extends AbstractCriterion<ShotCrossbowCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/ShotCrossbowCriterion
intermediary net/minecraft/class_2123
official dq
  • Constructor Details

    • ShotCrossbowCriterion

      public ShotCrossbowCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<ShotCrossbowCriterion.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 Lap;a()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/ShotCrossbowCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)V
      intermediary method_9115 Lnet/minecraft/class_2123;method_9115(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)V
      official a Ldq;a(Larg;Lcuq;)V