Uses of Record Class
net.minecraft.predicate.entity.DamageSourcePredicate
Package
Description
-
Uses of DamageSourcePredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final Optional
<DamageSourcePredicate> OnKilledCriterion.Conditions.killingBlow
The field for thekillingBlow
record component.Modifier and TypeMethodDescriptionOnKilledCriterion.Conditions.killingBlow()
Returns the value of thekillingBlow
record component.Modifier and TypeMethodDescriptionOnKilledCriterion.Conditions.createEntityKilledPlayer
(EntityPredicate.Builder killerEntityPredicateBuilder, Optional<DamageSourcePredicate> killingBlow) OnKilledCriterion.Conditions.createPlayerKilledEntity
(EntityPredicate.Builder killedEntityPredicateBuilder, Optional<DamageSourcePredicate> killingBlow) -
Uses of DamageSourcePredicate in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final Optional
<DamageSourcePredicate> DamageSourcePropertiesLootCondition.predicate
The field for thepredicate
record component.Modifier and TypeMethodDescriptionDamageSourcePropertiesLootCondition.predicate()
Returns the value of thepredicate
record component.ModifierConstructorDescription -
Uses of DamageSourcePredicate in net.minecraft.predicate
Modifier and TypeFieldDescriptionprivate Optional
<DamageSourcePredicate> DamagePredicate.Builder.type
private final Optional
<DamageSourcePredicate> DamagePredicate.type
The field for thetype
record component.Modifier and TypeMethodDescriptionDamagePredicate.type()
Returns the value of thetype
record component. -
Uses of DamageSourcePredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DamageSourcePredicate> DamageSourcePredicate.CODEC