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 bz$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 Lbz$a;a:Lbm$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 Lbz$a;b:Lbc;
      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> Lbz$a;<init>(Lww;Lbm$b;Lbm$b;Lbc;)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 Lbz$a;a(Lbm;)Lbz$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 Lbz$a;a(Lbm$a;)Lbz$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 Lbz$a;c()Lbz$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 Lbz$a;a(Lbm;Lbc;)Lbz$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 Lbz$a;a(Lbm$a;Lbc;)Lbz$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 Lbz$a;a(Lbm;Lbc$a;)Lbz$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 Lbz$a;a(Lbm$a;Lbc$a;)Lbz$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;
    • createEntityKilledPlayer

      public static OnKilledCriterion.Conditions createEntityKilledPlayer(EntityPredicate killerEntityPredicate)
      Mappings:
      Namespace Name Mixin selector
      official b Lbz$a;b(Lbm;)Lbz$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 Lbz$a;b(Lbm$a;)Lbz$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 d Lbz$a;d()Lbz$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 Lbz$a;b(Lbm;Lbc;)Lbz$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 Lbz$a;b(Lbm$a;Lbc;)Lbz$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 Lbz$a;b(Lbm;Lbc$a;)Lbz$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 Lbz$a;b(Lbm$a;Lbc$a;)Lbz$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 Lbz$a;a(Labs;Ldip;Lasp;)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 Lam;a(Lcq;)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;