Uses of Record Class
net.minecraft.advancements.predicates.DamageSourcePredicate
Packages that use DamageSourcePredicate
Package
Description
-
Uses of DamageSourcePredicate in net.minecraft.advancements.predicates
Fields in net.minecraft.advancements.predicates with type parameters of type DamageSourcePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DamageSourcePredicate> DamageSourcePredicate.CODECprivate Optional<DamageSourcePredicate> DamagePredicate.Builder.typeprivate final Optional<DamageSourcePredicate> DamagePredicate.typeThe field for thetyperecord component.Methods in net.minecraft.advancements.predicates that return DamageSourcePredicateMethods in net.minecraft.advancements.predicates that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionDamagePredicate.type()Returns the value of thetyperecord component.Methods in net.minecraft.advancements.predicates with parameters of type DamageSourcePredicate -
Uses of DamageSourcePredicate in net.minecraft.advancements.triggers
Fields in net.minecraft.advancements.triggers with type parameters of type DamageSourcePredicateModifier and TypeFieldDescriptionprivate final Optional<DamageSourcePredicate> KilledTrigger.TriggerInstance.killingBlowThe field for thekillingBlowrecord component.Methods in net.minecraft.advancements.triggers that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionKilledTrigger.TriggerInstance.killingBlow()Returns the value of thekillingBlowrecord component.Method parameters in net.minecraft.advancements.triggers with type arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionKilledTrigger.TriggerInstance.entityKilledPlayer(EntityPredicate.Builder entity, Optional<DamageSourcePredicate> killingBlow) KilledTrigger.TriggerInstance.playerKilledEntity(EntityPredicate.Builder entity, Optional<DamageSourcePredicate> killingBlow) -
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.