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 TypeMethodDescriptionstatic OnKilledCriterion.Conditions
OnKilledCriterion.Conditions.createEntityKilledPlayer
(EntityPredicate.Builder killerEntityPredicateBuilder, Optional<DamageSourcePredicate> optional) static OnKilledCriterion.Conditions
OnKilledCriterion.Conditions.createPlayerKilledEntity
(EntityPredicate.Builder killedEntityPredicateBuilder, Optional<DamageSourcePredicate> optional) -
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.field_45727
Methods in net.minecraft.predicate.entity that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionDamageSourcePredicate.Builder.build()
static Optional<DamageSourcePredicate>
DamageSourcePredicate.fromJson
(@Nullable JsonElement json) (package private) static Optional<DamageSourcePredicate>
DamageSourcePredicate.method_53117
(List<TagPredicate<DamageType>> list, Optional<EntityPredicate> optional, Optional<EntityPredicate> optional2)