Class OnKilledCriterion

All Implemented Interfaces:
Criterion<OnKilledCriterion.Conditions>

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

    • OnKilledCriterion

      public OnKilledCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<OnKilledCriterion.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, Entity entity, DamageSource killingDamage)
      Mappings:
      Namespace Name Mixin selector
      official a Lcd;a(Lane;Lblv;Lbkt;)V
      intermediary method_8990 Lnet/minecraft/class_2080;method_8990(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)V
      named trigger Lnet/minecraft/advancement/criterion/OnKilledCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)V