net.minecraft.advancements.critereon

public record TagPredicate<T>

dc
net.minecraft.advancements.critereon.TagPredicate
net.minecraft.class_8129
net.minecraft.predicate.TagPredicate
net.minecraft.src.C_268376_
net.minecraft.advancements.critereon.TagPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <T> com.mojang.serialization.Codec<TagPredicate<T>>
a(aev<? extends hq<T>> arg0)
codec(ResourceKey<? extends Registry<T>> arg0)
method_53245(class_5321<? extends class_2378<T>> arg0)
createCodec(RegistryKey<? extends Registry<T>> registryRef)
m_295374_(C_5264_<? extends C_4705_<T>> p_301303_)
public static <T> TagPredicate<T>
a(aqh<T> arg0)
is(TagKey<T> arg0)
method_48965(class_6862<T> arg0)
expected(TagKey<T> tag)
m_269314_(C_203208_<T> p_270668_)
public static <T> TagPredicate<T>
b(aqh<T> arg0)
isNot(TagKey<T> arg0)
method_48968(class_6862<T> arg0)
unexpected(TagKey<T> tag)
m_269422_(C_203208_<T> p_270264_)
public boolean
a(he<T> arg0)
matches(Holder<T> arg0)
method_48967(class_6880<T> arg0)
test(RegistryEntry<T> registryEntry)
m_269475_(C_203228_<T> arg0)
public TagKey<T>
a()
tag()
comp_1836()
tag()
f_268479_()
public boolean
b()
expected()
comp_1837()
expected()
f_268414_()