net.minecraft.tags

public class TagEntry

aws
net.minecraft.tags.TagEntry
net.minecraft.class_3497
net.minecraft.registry.tag.TagEntry
net.minecraft.src.C_212961_
net.minecraft.tags.TagEntry

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<TagEntry>
b
FULL_CODEC
field_39266
ENTRY_CODEC
f_215912_
public static final com.mojang.serialization.Codec<TagEntry>
a
CODEC
field_39265
CODEC
f_215911_
private final ResourceLocation
c
id
field_15584
id
f_215913_
private final boolean
d
tag
field_39267
tag
f_215914_
private final boolean
e
required
field_39268
required
f_215915_

Constructor summary

ModifierConstructor
private (ResourceLocation id, boolean tag, boolean required)
private (ExtraCodecs$TagOrElementLocation id, boolean required)

Method summary

Modifier and TypeMethod
private ExtraCodecs$TagOrElementLocation
a()
elementOrTag()
method_43936()
getIdForCodec()
m_215924_()
public static TagEntry
a(akr arg0)
element(ResourceLocation arg0)
method_43937(class_2960 arg0)
create(Identifier id)
m_215925_(C_5265_ p_215926_)
public static TagEntry
b(akr arg0)
optionalElement(ResourceLocation arg0)
method_43942(class_2960 arg0)
createOptional(Identifier id)
m_215943_(C_5265_ p_215944_)
public static TagEntry
c(akr arg0)
tag(ResourceLocation arg0)
method_43945(class_2960 arg0)
createTag(Identifier id)
m_215949_(C_5265_ p_215950_)
public static TagEntry
d(akr arg0)
optionalTag(ResourceLocation arg0)
method_43947(class_2960 arg0)
createOptionalTag(Identifier id)
m_215953_(C_5265_ p_215954_)
public <T> boolean
a(aws$a<T> arg0, Consumer<T> arg1)
build(TagEntry$Lookup<T> arg0, Consumer<T> arg1)
method_26790(class_3497$class_7474<T> arg0, Consumer<T> arg1)
resolve(TagEntry$ValueGetter<T> valueGetter, Consumer<T> idConsumer)
m_215927_(C_212961_$C_212962_<T> p_215929_, Consumer<T> arg1)
public void
a(Consumer<akr> arg0)
visitRequiredDependencies(Consumer<ResourceLocation> arg0)
method_32831(Consumer<class_2960> arg0)
forEachRequiredTagId(Consumer<Identifier> idConsumer)
m_215938_(Consumer<C_5265_> arg0)
public void
b(Consumer<akr> arg0)
visitOptionalDependencies(Consumer<ResourceLocation> arg0)
method_43944(Consumer<class_2960> arg0)
forEachOptionalTagId(Consumer<Identifier> idConsumer)
m_215947_(Consumer<C_5265_> arg0)
public boolean
a(Predicate<akr> arg0, Predicate<akr> arg1)
verifyIfPresent(Predicate<ResourceLocation> arg0, Predicate<ResourceLocation> arg1)
method_32832(Predicate<class_2960> arg0, Predicate<class_2960> arg1)
canAdd(Predicate<Identifier> directEntryPredicate, Predicate<Identifier> tagEntryPredicate)
m_215940_(Predicate<C_5265_> p_215942_, Predicate<C_5265_> arg1)