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.killingBlowMethod 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.predicateThe field for thepredicaterecord component.Methods in net.minecraft.loot.condition that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionDamageSourcePropertiesLootCondition.predicate()Returns the value of thepredicaterecord 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.sourceThe field for thesourcerecord component.private Optional<DamageSourcePredicate>DamagePredicate.Builder.typeMethods in net.minecraft.predicate that return types with arguments of type DamageSourcePredicateModifier and TypeMethodDescriptionDamagePredicate.source()Returns the value of thesourcerecord 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.CODECMethods 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 com.google.gson.JsonElement json)