Uses of Record Class
net.minecraft.predicate.entity.DamageSourcePredicate
Packages that use DamageSourcePredicate
Package
Description
-
Uses of DamageSourcePredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type DamageSourcePredicateModifier and TypeFieldDescriptionprivate final Optional
<DamageSourcePredicate> OnKilledCriterion.Conditions.killingBlow
The field for thekillingBlow
record component.Methods in net.minecraft.advancement.criterion that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionOnKilledCriterion.Conditions.killingBlow()
Returns the value of thekillingBlow
record component.Method parameters in net.minecraft.advancement.criterion with type arguments of type DamageSourcePredicateModifier 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
Fields in net.minecraft.loot.condition with type parameters of type DamageSourcePredicateModifier and TypeFieldDescriptionprivate final Optional
<DamageSourcePredicate> DamageSourcePropertiesLootCondition.predicate
The field for thepredicate
record component.Methods in net.minecraft.loot.condition that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionDamageSourcePropertiesLootCondition.predicate()
Returns the value of thepredicate
record component.Constructor parameters in net.minecraft.loot.condition with type arguments of type DamageSourcePredicateModifierConstructorDescription -
Uses of DamageSourcePredicate in net.minecraft.predicate
Fields in net.minecraft.predicate with type parameters of type DamageSourcePredicateModifier and TypeFieldDescriptionprivate Optional
<DamageSourcePredicate> DamagePredicate.Builder.type
private final Optional
<DamageSourcePredicate> DamagePredicate.type
The field for thetype
record component.Methods in net.minecraft.predicate that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionDamagePredicate.type()
Returns the value of thetype
record component.Methods in net.minecraft.predicate with parameters of type DamageSourcePredicate -
Uses of DamageSourcePredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type DamageSourcePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DamageSourcePredicate> DamageSourcePredicate.CODEC
Methods in net.minecraft.predicate.entity that return DamageSourcePredicate