Uses of Record Class
net.minecraft.advancements.critereon.DamageSourcePredicate
Packages that use DamageSourcePredicate
Package
Description
-
Uses of DamageSourcePredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type DamageSourcePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DamageSourcePredicate> DamageSourcePredicate.CODECprivate final Optional<DamageSourcePredicate> KilledTrigger.TriggerInstance.killingBlowThe field for thekillingBlowrecord component.private Optional<DamageSourcePredicate> DamagePredicate.Builder.typeprivate final Optional<DamageSourcePredicate> DamagePredicate.typeThe field for thetyperecord component.Methods in net.minecraft.advancements.critereon that return DamageSourcePredicateMethods in net.minecraft.advancements.critereon that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionKilledTrigger.TriggerInstance.killingBlow()Returns the value of thekillingBlowrecord component.DamagePredicate.type()Returns the value of thetyperecord component.Methods in net.minecraft.advancements.critereon with parameters of type DamageSourcePredicateMethod parameters in net.minecraft.advancements.critereon with type arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionKilledTrigger.TriggerInstance.entityKilledPlayer(EntityPredicate.Builder p_152119_, Optional<DamageSourcePredicate> p_301181_) KilledTrigger.TriggerInstance.playerKilledEntity(EntityPredicate.Builder p_300879_, Optional<DamageSourcePredicate> p_298956_) -
Uses of DamageSourcePredicate in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type DamageSourcePredicateModifier and TypeFieldDescriptionprivate final Optional<DamageSourcePredicate> DamageSourceCondition.predicateThe field for thepredicaterecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionDamageSourceCondition.predicate()Returns the value of thepredicaterecord component.Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type DamageSourcePredicateModifierConstructorDescriptionDamageSourceCondition(Optional<DamageSourcePredicate> predicate) Creates an instance of aDamageSourceConditionrecord class.