Uses of Record Class
net.minecraft.advancements.critereon.TagPredicate
Packages that use TagPredicate
-
Uses of TagPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type TagPredicateModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder
<TagPredicate<DamageType>> DamageSourcePredicate.Builder.tags
private final List
<TagPredicate<DamageType>> DamageSourcePredicate.tags
The field for thetags
record component.Methods in net.minecraft.advancements.critereon that return TagPredicateMethods in net.minecraft.advancements.critereon that return types with arguments of type TagPredicateModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<TagPredicate<T>> TagPredicate.codec
(ResourceKey<? extends Registry<T>> p_298649_) DamageSourcePredicate.tags()
Returns the value of thetags
record component.Methods in net.minecraft.advancements.critereon with parameters of type TagPredicateModifier and TypeMethodDescriptionDamageSourcePredicate.Builder.tag
(TagPredicate<DamageType> p_270455_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type TagPredicateModifierConstructorDescriptionDamageSourcePredicate
(List<TagPredicate<DamageType>> tags, Optional<EntityPredicate> directEntity, Optional<EntityPredicate> sourceEntity, Optional<Boolean> isDirect) Creates an instance of aDamageSourcePredicate
record class.