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.tags
The field for thetags
record component.Modifier and TypeMethodDescriptionDamageSourcePredicate.tags()
Returns the value of thetags
record component.Modifier and TypeMethodDescriptionDamageSourcePredicate.Builder.tag
(TagPredicate<DamageType> tagPredicate) ModifierConstructorDescriptionDamageSourcePredicate
(List<TagPredicate<DamageType>> tagPredicates, Optional<EntityPredicate> optional, Optional<EntityPredicate> optional2)