Class KilledTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.KilledTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- KilledTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ContextAwarePredicate
private final DamageSourcePredicate
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(ResourceLocation p_286471_, ContextAwarePredicate p_286673_, ContextAwarePredicate p_286390_, DamageSourcePredicate p_286643_) -
Method Summary
Modifier and TypeMethodDescriptionentityKilledPlayer
(EntityPredicate p_152125_) entityKilledPlayer
(EntityPredicate.Builder p_152117_) entityKilledPlayer
(EntityPredicate.Builder p_152122_, DamageSourcePredicate p_152123_) entityKilledPlayer
(EntityPredicate.Builder p_152119_, DamageSourcePredicate.Builder p_152120_) entityKilledPlayer
(EntityPredicate p_152130_, DamageSourcePredicate p_152131_) entityKilledPlayer
(EntityPredicate p_152127_, DamageSourcePredicate.Builder p_152128_) boolean
matches
(ServerPlayer p_48131_, LootContext p_48132_, DamageSource p_48133_) playerKilledEntity
(EntityPredicate p_152109_) playerKilledEntity
(EntityPredicate.Builder p_48135_) playerKilledEntity
(EntityPredicate.Builder p_152106_, DamageSourcePredicate p_152107_) playerKilledEntity
(EntityPredicate.Builder p_48137_, DamageSourcePredicate.Builder p_48138_) playerKilledEntity
(EntityPredicate p_152114_, DamageSourcePredicate p_152115_) playerKilledEntity
(EntityPredicate p_152111_, DamageSourcePredicate.Builder p_152112_) com.google.gson.JsonObject
serializeToJson
(SerializationContext p_48140_) Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
entityPredicate
-
killingBlow
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(ResourceLocation p_286471_, ContextAwarePredicate p_286673_, ContextAwarePredicate p_286390_, DamageSourcePredicate p_286643_)
-
-
Method Details
-
playerKilledEntity
-
playerKilledEntity
-
playerKilledEntity
-
playerKilledEntity
public static KilledTrigger.TriggerInstance playerKilledEntity(EntityPredicate p_152114_, DamageSourcePredicate p_152115_) -
playerKilledEntity
public static KilledTrigger.TriggerInstance playerKilledEntity(EntityPredicate.Builder p_152106_, DamageSourcePredicate p_152107_) -
playerKilledEntity
public static KilledTrigger.TriggerInstance playerKilledEntity(EntityPredicate p_152111_, DamageSourcePredicate.Builder p_152112_) -
playerKilledEntity
public static KilledTrigger.TriggerInstance playerKilledEntity(EntityPredicate.Builder p_48137_, DamageSourcePredicate.Builder p_48138_) -
playerKilledEntityNearSculkCatalyst
-
entityKilledPlayer
-
entityKilledPlayer
-
entityKilledPlayer
-
entityKilledPlayer
public static KilledTrigger.TriggerInstance entityKilledPlayer(EntityPredicate p_152130_, DamageSourcePredicate p_152131_) -
entityKilledPlayer
public static KilledTrigger.TriggerInstance entityKilledPlayer(EntityPredicate.Builder p_152122_, DamageSourcePredicate p_152123_) -
entityKilledPlayer
public static KilledTrigger.TriggerInstance entityKilledPlayer(EntityPredicate p_152127_, DamageSourcePredicate.Builder p_152128_) -
entityKilledPlayer
public static KilledTrigger.TriggerInstance entityKilledPlayer(EntityPredicate.Builder p_152119_, DamageSourcePredicate.Builder p_152120_) -
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-