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 ImmutableList.Builder<TagPredicate<DamageType>> DamageSourcePredicate.Builder.tagsprivate final List<TagPredicate<DamageType>> DamageSourcePredicate.tagsThe field for thetagsrecord 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>> pRegistryKey) DamageSourcePredicate.tags()Returns the value of thetagsrecord component.Methods in net.minecraft.advancements.critereon with parameters of type TagPredicateModifier and TypeMethodDescriptionDamageSourcePredicate.Builder.tag(TagPredicate<DamageType> pTag) 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 aDamageSourcePredicaterecord class.