net.minecraft.advancements.criterion

public record TagPredicate<T>

dn
net.minecraft.advancements.criterion.TagPredicate
net.minecraft.class_8129
net.minecraft.predicate.TagPredicate
net.minecraft.src.C_432735_
net.minecraft.advancements.criterion.TagPredicate

字段概要

修饰符与类型字段
private final TagKey<T>
a
tag
comp_1836
tag
f_434550_
private final boolean
b
expected
comp_1837
expected
f_433593_

构造函数概要

修饰符构造函数
public (TagKey<T> tag, boolean expected)

方法概要

修饰符与类型方法
public static <T> com.mojang.serialization.Codec<TagPredicate<T>>
a(amt<? extends jq<T>> arg0)
codec(ResourceKey<? extends Registry<T>> arg0)
method_53245(class_5321<? extends class_2378<T>> arg0)
createCodec(RegistryKey<? extends Registry<T>> registryRef)
m_441978_(C_5264_<? extends C_4705_<T>> p_450815_)
public static <T> TagPredicate<T>
a(bef<T> arg0)
is(TagKey<T> arg0)
method_48965(class_6862<T> arg0)
expected(TagKey<T> tag)
m_445418_(C_203208_<T> p_452631_)
public static <T> TagPredicate<T>
b(bef<T> arg0)
isNot(TagKey<T> arg0)
method_48968(class_6862<T> arg0)
unexpected(TagKey<T> tag)
m_447059_(C_203208_<T> p_450294_)
public boolean
a(jd<T> arg0)
matches(Holder<T> arg0)
method_48967(class_6880<T> arg0)
test(RegistryEntry<T> registryEntry)
m_447175_(C_203228_<T> arg0)
public TagKey<T>
a()
tag()
comp_1836()
tag()
f_434550_()
public boolean
b()
expected()
comp_1837()
expected()
f_433593_()