net.minecraft.advancements.critereon

public record TagPredicate<T>

eg
net.minecraft.advancements.critereon.TagPredicate
net.minecraft.class_8129
net.minecraft.predicate.TagPredicate
net.minecraft.advancements.critereon.TagPredicate

Field summary

Modifier and TypeField
private final TagKey<T>
a
tag
comp_1836
tag
private final boolean
b
expected
comp_1837
expected

Constructor summary

ModifierConstructor
public (TagKey<T> tag, boolean expected)

Method summary

Modifier and TypeMethod
public static <T> com.mojang.serialization.Codec<TagPredicate<T>>
a(aly<? extends kd<T>> arg0)
codec(ResourceKey<? extends Registry<T>> arg0)
method_53245(class_5321<? extends class_2378<T>> arg0)
createCodec(RegistryKey<? extends Registry<T>> registryRef)
public static <T> TagPredicate<T>
a(ayk<T> arg0)
is(TagKey<T> arg0)
method_48965(class_6862<T> arg0)
expected(TagKey<T> tag)
public static <T> TagPredicate<T>
b(ayk<T> arg0)
isNot(TagKey<T> arg0)
method_48968(class_6862<T> arg0)
unexpected(TagKey<T> tag)
public boolean
a(jq<T> arg0)
matches(Holder<T> arg0)
method_48967(class_6880<T> arg0)
test(RegistryEntry<T> registryEntry)
public TagKey<T>
a()
tag()
comp_1836()
tag()
public boolean
b()
expected()
comp_1837()
expected()