net.minecraft.advancements.critereon

public class TagPredicate<T>

da
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
field_42477
tag
f_268479_
private final boolean
b
expected
field_42478
expected
f_268414_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <T> TagPredicate<T>
a(anv<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(anv<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(hd<T> arg0)
matches(Holder<T> arg0)
method_48967(class_6880<T> arg0)
test(RegistryEntry<T> registryEntry)
m_269475_(C_203228_<T> arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_48964()
toJson()
m_269579_()
public static <T> TagPredicate<T>
a(com.google.gson.JsonElement arg0, adc<? extends hq<T>> arg1)
fromJson(com.google.gson.JsonElement arg0, ResourceKey<? extends Registry<T>> arg1)
method_48966(com.google.gson.JsonElement arg0, class_5321<? extends class_2378<T>> arg1)
fromJson(com.google.gson.JsonElement json, RegistryKey<? extends Registry<T>> registry)
m_269409_(com.google.gson.JsonElement p_270982_, C_5264_<? extends C_4705_<T>> p_270978_)