Uses of Record Class
net.minecraft.predicate.TagPredicate
-
Uses of TagPredicate in net.minecraft.predicate
Modifier and TypeMethodDescriptionstatic <T> TagPredicate<T>
static <T> TagPredicate<T>
TagPredicate.unexpected
(TagKey<T> tag) Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<TagPredicate<T>>
TagPredicate.createCodec
(RegistryKey<? extends Registry<T>> registryRef) -
Uses of TagPredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final ImmutableList.Builder<TagPredicate<DamageType>>
DamageSourcePredicate.Builder.tagPredicates
private final List<TagPredicate<DamageType>>
DamageSourcePredicate.tagPredicates
The field for thetagPredicates
record component.Modifier and TypeMethodDescriptionDamageSourcePredicate.tagPredicates()
Returns the value of thetagPredicates
record component.Modifier and TypeMethodDescriptionDamageSourcePredicate.Builder.tag
(TagPredicate<DamageType> tagPredicate) ModifierConstructorDescriptionDamageSourcePredicate
(List<TagPredicate<DamageType>> tagPredicates, Optional<EntityPredicate> optional, Optional<EntityPredicate> optional2)