Uses of Record Class
net.minecraft.predicate.TagPredicate
Packages that use TagPredicate
-
Uses of TagPredicate in net.minecraft.predicate
Methods in net.minecraft.predicate that return TagPredicateModifier and TypeMethodDescriptionstatic <T> TagPredicate
<T> static <T> TagPredicate
<T> TagPredicate.unexpected
(TagKey<T> tag) Methods in net.minecraft.predicate that return types with arguments of type TagPredicateModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<TagPredicate<T>> TagPredicate.createCodec
(RegistryKey<? extends Registry<T>> registryRef) -
Uses of TagPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type TagPredicateModifier and TypeFieldDescriptionprivate final ImmutableList.Builder
<TagPredicate<DamageType>> DamageSourcePredicate.Builder.tagPredicates
private final List
<TagPredicate<DamageType>> DamageSourcePredicate.tags
The field for thetags
record component.Methods in net.minecraft.predicate.entity that return types with arguments of type TagPredicateModifier and TypeMethodDescriptionDamageSourcePredicate.tags()
Returns the value of thetags
record component.Methods in net.minecraft.predicate.entity with parameters of type TagPredicateModifier and TypeMethodDescriptionDamageSourcePredicate.Builder.tag
(TagPredicate<DamageType> tagPredicate) Constructor parameters in net.minecraft.predicate.entity with type arguments of type TagPredicateModifierConstructorDescriptionDamageSourcePredicate
(List<TagPredicate<DamageType>> tagPredicates, Optional<EntityPredicate> optional, Optional<EntityPredicate> optional2)