Class OnKilledCriterion

All Implemented Interfaces:
Criterion<OnKilledCriterion.Conditions>

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

    • OnKilledCriterion

      public OnKilledCriterion()
  • Method Details

    • getConditionsCodec

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