Class PlayerHurtEntityCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.PlayerHurtEntityCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
PlayerHurtEntityCriterion
- Mappings:
Namespace Name official co$a
intermediary net/minecraft/class_2115$class_2117
named net/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DamagePredicate
private final EntityPredicate.Extended
-
Constructor Summary
ConstructorDescriptionConditions
(EntityPredicate.Extended player, DamagePredicate damage, EntityPredicate.Extended entity) -
Method Summary
Modifier and TypeMethodDescriptioncreate()
create
(DamagePredicate damagePredicate) create
(DamagePredicate.Builder damagePredicateBuilder) create
(DamagePredicate.Builder damagePredicateBuilder, EntityPredicate hurtEntityPredicate) create
(DamagePredicate damagePredicate, EntityPredicate hurtEntityPredicate) create
(EntityPredicate hurtEntityPredicate) boolean
matches
(ServerPlayerEntity player, LootContext entityContext, DamageSource source, float dealt, float taken, boolean blocked) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
damage
- Mappings:
Namespace Name Mixin selector official a
Lco$a;a:Lbc;
intermediary field_9736
Lnet/minecraft/class_2115$class_2117;field_9736:Lnet/minecraft/class_2019;
named damage
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;damage:Lnet/minecraft/predicate/DamagePredicate;
-
entity
- Mappings:
Namespace Name Mixin selector official b
Lco$a;b:Lbo$b;
intermediary field_9737
Lnet/minecraft/class_2115$class_2117;field_9737:Lnet/minecraft/class_2048$class_5258;
named entity
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;entity:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, DamagePredicate damage, EntityPredicate.Extended entity) - Mappings:
Namespace Name Mixin selector official <init>
Lco$a;<init>(Lbo$b;Lbc;Lbo$b;)V
intermediary <init>
Lnet/minecraft/class_2115$class_2117;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2019;Lnet/minecraft/class_2048$class_5258;)V
named <init>
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/DamagePredicate;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official c
Lco$a;c()Lco$a;
intermediary method_35298
Lnet/minecraft/class_2115$class_2117;method_35298()Lnet/minecraft/class_2115$class_2117;
named create
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;create()Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Lbc;)Lco$a;
intermediary method_35295
Lnet/minecraft/class_2115$class_2117;method_35295(Lnet/minecraft/class_2019;)Lnet/minecraft/class_2115$class_2117;
named create
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;create(Lnet/minecraft/predicate/DamagePredicate;)Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;
-
create
public static PlayerHurtEntityCriterion.Conditions create(DamagePredicate.Builder damagePredicateBuilder) - Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Lbc$a;)Lco$a;
intermediary method_9103
Lnet/minecraft/class_2115$class_2117;method_9103(Lnet/minecraft/class_2019$class_2020;)Lnet/minecraft/class_2115$class_2117;
named create
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;create(Lnet/minecraft/predicate/DamagePredicate$Builder;)Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Lbo;)Lco$a;
intermediary method_35297
Lnet/minecraft/class_2115$class_2117;method_35297(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2115$class_2117;
named create
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;
-
create
public static PlayerHurtEntityCriterion.Conditions create(DamagePredicate damagePredicate, EntityPredicate hurtEntityPredicate) - Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Lbc;Lbo;)Lco$a;
intermediary method_35296
Lnet/minecraft/class_2115$class_2117;method_35296(Lnet/minecraft/class_2019;Lnet/minecraft/class_2048;)Lnet/minecraft/class_2115$class_2117;
named create
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;create(Lnet/minecraft/predicate/DamagePredicate;Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;
-
create
public static PlayerHurtEntityCriterion.Conditions create(DamagePredicate.Builder damagePredicateBuilder, EntityPredicate hurtEntityPredicate) - Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Lbc$a;Lbo;)Lco$a;
intermediary method_35294
Lnet/minecraft/class_2115$class_2117;method_35294(Lnet/minecraft/class_2019$class_2020;Lnet/minecraft/class_2048;)Lnet/minecraft/class_2115$class_2117;
named create
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;create(Lnet/minecraft/predicate/DamagePredicate$Builder;Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;
-
matches
public boolean matches(ServerPlayerEntity player, LootContext entityContext, DamageSource source, float dealt, float taken, boolean blocked) - Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Lagh;Ldsd;Lbaw;FFZ)Z
intermediary method_9104
Lnet/minecraft/class_2115$class_2117;method_9104(Lnet/minecraft/class_3222;Lnet/minecraft/class_47;Lnet/minecraft/class_1282;FFZ)Z
named matches
Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion$Conditions;matches(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/loot/context/LootContext;Lnet/minecraft/entity/damage/DamageSource;FFZ)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- 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;
-