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
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 final Optional<DamageSourcePredicate>
DamagePredicate.source
The field for thesource
record component.private Optional<DamageSourcePredicate>
DamagePredicate.Builder.type
Methods in net.minecraft.predicate that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionDamagePredicate.source()
Returns the value of thesource
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 DamageSourcePredicateMethods in net.minecraft.predicate.entity that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionstatic Optional<DamageSourcePredicate>
DamageSourcePredicate.fromJson
(@Nullable JsonElement json)