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 bt$a
intermediary net/minecraft/class_2080$class_2083
named net/minecraft/advancement/criterion/OnKilledCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private EntityPredicate.Extended
entity
private DamageSourcePredicate
killingBlow
-
Constructor Summary
Constructors Constructor Description Conditions(Identifier id, EntityPredicate.Extended player, EntityPredicate.Extended entity, DamageSourcePredicate killingBlow)
-
Method Summary
Modifier and Type Method Description static OnKilledCriterion.Conditions
createEntityKilledPlayer()
static OnKilledCriterion.Conditions
createPlayerKilledEntity()
static OnKilledCriterion.Conditions
createPlayerKilledEntity(EntityPredicate.Builder killedEntityPredicateBuilder)
static OnKilledCriterion.Conditions
createPlayerKilledEntity(EntityPredicate.Builder killedEntityPredicateBuilder, DamageSourcePredicate.Builder killingBlowBuilder)
boolean
test(ServerPlayerEntity player, LootContext killedEntityContext, DamageSource killingBlow)
JsonObject
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official a
Lbt$a;a:Lbg$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
- Mappings:
Namespace Name Mixin selector official b
Lbt$a;b:Law;
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>
Lbt$a;<init>(Lwb;Lbg$b;Lbg$b;Law;)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.Builder killedEntityPredicateBuilder)- Mappings:
Namespace Name Mixin selector official a
Lbt$a;a(Lbg$a;)Lbt$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
- Mappings:
Namespace Name Mixin selector official c
Lbt$a;c()Lbt$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.Builder killedEntityPredicateBuilder, DamageSourcePredicate.Builder killingBlowBuilder)- Mappings:
Namespace Name Mixin selector official a
Lbt$a;a(Lbg$a;Law$a;)Lbt$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
- Mappings:
Namespace Name Mixin selector official d
Lbt$a;d()Lbt$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;
-
test
public boolean test(ServerPlayerEntity player, LootContext killedEntityContext, DamageSource killingBlow)- Mappings:
Namespace Name Mixin selector official a
Lbt$a;a(Laaw;Ldei;Laqf;)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
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lag;a(Lci;)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;
-