Class OnKilledCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.OnKilledCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
OnKilledCriterion

public static class OnKilledCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official cc$a
intermediary net/minecraft/class_2080$class_2083
named net/minecraft/advancement/criterion/OnKilledCriterion$Conditions
  • Field Details

    • entity

      private final EntityPredicate.Extended entity
      Mappings:
      Namespace Name Mixin selector
      official a Lcc$a;a:Lbo$b;
      intermediary field_9668 Lnet/minecraft/class_2080$class_2083;field_9668:Lnet/minecraft/class_2048$class_5258;
      named entity Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;entity:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
    • killingBlow

      private final DamageSourcePredicate killingBlow
      Mappings:
      Namespace Name Mixin selector
      official b Lcc$a;b:Lbd;
      intermediary field_9667 Lnet/minecraft/class_2080$class_2083;field_9667:Lnet/minecraft/class_2022;
      named killingBlow Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;killingBlow:Lnet/minecraft/predicate/entity/DamageSourcePredicate;
  • Constructor Details

    • Conditions

      public Conditions(Identifier id, EntityPredicate.Extended player, EntityPredicate.Extended entity, DamageSourcePredicate killingBlow)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcc$a;<init>(Laaj;Lbo$b;Lbo$b;Lbd;)V
      intermediary <init> Lnet/minecraft/class_2080$class_2083;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2022;)V
      named <init> Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/DamageSourcePredicate;)V
  • Method Details

    • createPlayerKilledEntity

      public static OnKilledCriterion.Conditions createPlayerKilledEntity(EntityPredicate killedEntityPredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lcc$a;a(Lbo;)Lcc$a;
      intermediary method_35248 Lnet/minecraft/class_2080$class_2083;method_35248(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2080$class_2083;
      named createPlayerKilledEntity Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createPlayerKilledEntity(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createPlayerKilledEntity

      public static OnKilledCriterion.Conditions createPlayerKilledEntity(EntityPredicate.Builder killedEntityPredicateBuilder)
      Mappings:
      Namespace Name Mixin selector
      official a Lcc$a;a(Lbo$a;)Lcc$a;
      intermediary method_8997 Lnet/minecraft/class_2080$class_2083;method_8997(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2080$class_2083;
      named createPlayerKilledEntity Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createPlayerKilledEntity(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createPlayerKilledEntity

      public static OnKilledCriterion.Conditions createPlayerKilledEntity()
      Mappings:
      Namespace Name Mixin selector
      official c Lcc$a;c()Lcc$a;
      intermediary method_8999 Lnet/minecraft/class_2080$class_2083;method_8999()Lnet/minecraft/class_2080$class_2083;
      named createPlayerKilledEntity Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createPlayerKilledEntity()Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createPlayerKilledEntity

      public static OnKilledCriterion.Conditions createPlayerKilledEntity(EntityPredicate killedEntityPredicate, DamageSourcePredicate damageSourcePredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lcc$a;a(Lbo;Lbd;)Lcc$a;
      intermediary method_35250 Lnet/minecraft/class_2080$class_2083;method_35250(Lnet/minecraft/class_2048;Lnet/minecraft/class_2022;)Lnet/minecraft/class_2080$class_2083;
      named createPlayerKilledEntity Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createPlayerKilledEntity(Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/DamageSourcePredicate;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createPlayerKilledEntity

      public static OnKilledCriterion.Conditions createPlayerKilledEntity(EntityPredicate.Builder killedEntityPredicateBuilder, DamageSourcePredicate damageSourcePredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lcc$a;a(Lbo$a;Lbd;)Lcc$a;
      intermediary method_35247 Lnet/minecraft/class_2080$class_2083;method_35247(Lnet/minecraft/class_2048$class_2049;Lnet/minecraft/class_2022;)Lnet/minecraft/class_2080$class_2083;
      named createPlayerKilledEntity Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createPlayerKilledEntity(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;Lnet/minecraft/predicate/entity/DamageSourcePredicate;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createPlayerKilledEntity

      public static OnKilledCriterion.Conditions createPlayerKilledEntity(EntityPredicate killedEntityPredicate, DamageSourcePredicate.Builder damageSourcePredicateBuilder)
      Mappings:
      Namespace Name Mixin selector
      official a Lcc$a;a(Lbo;Lbd$a;)Lcc$a;
      intermediary method_35249 Lnet/minecraft/class_2080$class_2083;method_35249(Lnet/minecraft/class_2048;Lnet/minecraft/class_2022$class_2023;)Lnet/minecraft/class_2080$class_2083;
      named createPlayerKilledEntity Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createPlayerKilledEntity(Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createPlayerKilledEntity

      public static OnKilledCriterion.Conditions createPlayerKilledEntity(EntityPredicate.Builder killedEntityPredicateBuilder, DamageSourcePredicate.Builder killingBlowBuilder)
      Mappings:
      Namespace Name Mixin selector
      official a Lcc$a;a(Lbo$a;Lbd$a;)Lcc$a;
      intermediary method_9001 Lnet/minecraft/class_2080$class_2083;method_9001(Lnet/minecraft/class_2048$class_2049;Lnet/minecraft/class_2022$class_2023;)Lnet/minecraft/class_2080$class_2083;
      named createPlayerKilledEntity Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createPlayerKilledEntity(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createKillMobNearSculkCatalyst

      public static OnKilledCriterion.Conditions createKillMobNearSculkCatalyst()
      Mappings:
      Namespace Name Mixin selector
      official d Lcc$a;d()Lcc$a;
      intermediary method_42671 Lnet/minecraft/class_2080$class_2083;method_42671()Lnet/minecraft/class_2080$class_2083;
      named createKillMobNearSculkCatalyst Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createKillMobNearSculkCatalyst()Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createEntityKilledPlayer

      public static OnKilledCriterion.Conditions createEntityKilledPlayer(EntityPredicate killerEntityPredicate)
      Mappings:
      Namespace Name Mixin selector
      official b Lcc$a;b(Lbo;)Lcc$a;
      intermediary method_35254 Lnet/minecraft/class_2080$class_2083;method_35254(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2080$class_2083;
      named createEntityKilledPlayer Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createEntityKilledPlayer(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createEntityKilledPlayer

      public static OnKilledCriterion.Conditions createEntityKilledPlayer(EntityPredicate.Builder killerEntityPredicateBuilder)
      Mappings:
      Namespace Name Mixin selector
      official b Lcc$a;b(Lbo$a;)Lcc$a;
      intermediary method_35251 Lnet/minecraft/class_2080$class_2083;method_35251(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2080$class_2083;
      named createEntityKilledPlayer Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createEntityKilledPlayer(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createEntityKilledPlayer

      public static OnKilledCriterion.Conditions createEntityKilledPlayer()
      Mappings:
      Namespace Name Mixin selector
      official e Lcc$a;e()Lcc$a;
      intermediary method_8998 Lnet/minecraft/class_2080$class_2083;method_8998()Lnet/minecraft/class_2080$class_2083;
      named createEntityKilledPlayer Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createEntityKilledPlayer()Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createEntityKilledPlayer

      public static OnKilledCriterion.Conditions createEntityKilledPlayer(EntityPredicate killerEntityPredicate, DamageSourcePredicate damageSourcePredicate)
      Mappings:
      Namespace Name Mixin selector
      official b Lcc$a;b(Lbo;Lbd;)Lcc$a;
      intermediary method_35256 Lnet/minecraft/class_2080$class_2083;method_35256(Lnet/minecraft/class_2048;Lnet/minecraft/class_2022;)Lnet/minecraft/class_2080$class_2083;
      named createEntityKilledPlayer Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createEntityKilledPlayer(Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/DamageSourcePredicate;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createEntityKilledPlayer

      public static OnKilledCriterion.Conditions createEntityKilledPlayer(EntityPredicate.Builder killerEntityPredicateBuilder, DamageSourcePredicate damageSourcePredicate)
      Mappings:
      Namespace Name Mixin selector
      official b Lcc$a;b(Lbo$a;Lbd;)Lcc$a;
      intermediary method_35253 Lnet/minecraft/class_2080$class_2083;method_35253(Lnet/minecraft/class_2048$class_2049;Lnet/minecraft/class_2022;)Lnet/minecraft/class_2080$class_2083;
      named createEntityKilledPlayer Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createEntityKilledPlayer(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;Lnet/minecraft/predicate/entity/DamageSourcePredicate;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createEntityKilledPlayer

      public static OnKilledCriterion.Conditions createEntityKilledPlayer(EntityPredicate killerEntityPredicate, DamageSourcePredicate.Builder damageSourcePredicateBuilder)
      Mappings:
      Namespace Name Mixin selector
      official b Lcc$a;b(Lbo;Lbd$a;)Lcc$a;
      intermediary method_35255 Lnet/minecraft/class_2080$class_2083;method_35255(Lnet/minecraft/class_2048;Lnet/minecraft/class_2022$class_2023;)Lnet/minecraft/class_2080$class_2083;
      named createEntityKilledPlayer Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createEntityKilledPlayer(Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • createEntityKilledPlayer

      public static OnKilledCriterion.Conditions createEntityKilledPlayer(EntityPredicate.Builder killerEntityPredicateBuilder, DamageSourcePredicate.Builder damageSourcePredicateBuilder)
      Mappings:
      Namespace Name Mixin selector
      official b Lcc$a;b(Lbo$a;Lbd$a;)Lcc$a;
      intermediary method_35252 Lnet/minecraft/class_2080$class_2083;method_35252(Lnet/minecraft/class_2048$class_2049;Lnet/minecraft/class_2022$class_2023;)Lnet/minecraft/class_2080$class_2083;
      named createEntityKilledPlayer Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;createEntityKilledPlayer(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;Lnet/minecraft/predicate/entity/DamageSourcePredicate$Builder;)Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;
    • test

      public boolean test(ServerPlayerEntity player, LootContext killedEntityContext, DamageSource killingBlow)
      Mappings:
      Namespace Name Mixin selector
      official a Lcc$a;a(Lafp;Ldrg;Lazz;)Z
      intermediary method_9000 Lnet/minecraft/class_2080$class_2083;method_9000(Lnet/minecraft/class_3222;Lnet/minecraft/class_47;Lnet/minecraft/class_1282;)Z
      named test Lnet/minecraft/advancement/criterion/OnKilledCriterion$Conditions;test(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/loot/context/LootContext;Lnet/minecraft/entity/damage/DamageSource;)Z
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;a(Lct;)Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;