net.minecraft.tags

public class TagEntry

akx
net.minecraft.tags.TagEntry
net.minecraft.class_3497
net.minecraft.unmapped.C_rfhbnify
net.minecraft.tag.TagEntry
net.minecraft.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
f_uucsbqzb
ENTRY_CODEC
FULL_CODEC
f_215912_
public static final com.mojang.serialization.Codec<TagEntry>
a
CODEC
field_39265
f_jhxnhoxx
CODEC
CODEC
f_215911_
private final ResourceLocation
c
id
field_15584
f_fegozgrq
id
id
f_215913_
private final boolean
d
tag
field_39267
f_qzcxbtdd
tag
tag
f_215914_
private final boolean
e
required
field_39268
f_simekout
required
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()
m_pxfvnptu()
getIdForCodec()
getId()
m_215924_()
public static TagEntry
a(abb arg0)
element(ResourceLocation arg0)
method_43937(class_2960 arg0)
m_iopicfaz(C_ncpywfca arg0)
create(Identifier id)
ofElement(Identifier id)
m_215925_(C_5265_ p_215926_)
public static TagEntry
b(abb arg0)
optionalElement(ResourceLocation arg0)
method_43942(class_2960 arg0)
m_lszhedyw(C_ncpywfca arg0)
createOptional(Identifier id)
ofOptionalElement(Identifier id)
m_215943_(C_5265_ p_215944_)
public static TagEntry
c(abb arg0)
tag(ResourceLocation arg0)
method_43945(class_2960 arg0)
m_slxgymvi(C_ncpywfca arg0)
createTag(Identifier id)
ofTag(Identifier id)
m_215949_(C_5265_ p_215950_)
public static TagEntry
d(abb arg0)
optionalTag(ResourceLocation arg0)
method_43947(class_2960 arg0)
m_hocsntrx(C_ncpywfca arg0)
createOptionalTag(Identifier id)
ofOptionalTag(Identifier id)
m_215953_(C_5265_ p_215954_)
public <T> boolean
a(akx$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)
m_uxeswulh(C_rfhbnify$C_vjdvrntl<T> arg0, Consumer<T> arg1)
resolve(TagEntry$ValueGetter<T> valueGetter, Consumer<T> idConsumer)
build(TagEntry$Lookup<T> lookup, Consumer<T> entryConsumer)
m_215927_(C_212961_$C_212962_<T> p_215929_, Consumer<T> arg1)
public void
a(Consumer<abb> arg0)
visitRequiredDependencies(Consumer<ResourceLocation> arg0)
method_32831(Consumer<class_2960> arg0)
m_rghlcngt(Consumer<C_ncpywfca> arg0)
forEachRequiredTagId(Consumer<Identifier> idConsumer)
visitRequiredDependencies(Consumer<Identifier> dependencyConsumer)
m_215938_(Consumer<C_5265_> arg0)
public void
b(Consumer<abb> arg0)
visitOptionalDependencies(Consumer<ResourceLocation> arg0)
method_43944(Consumer<class_2960> arg0)
m_swtlbreu(Consumer<C_ncpywfca> arg0)
forEachOptionalTagId(Consumer<Identifier> idConsumer)
visitOptionalDependencies(Consumer<Identifier> dependencyConsumer)
m_215947_(Consumer<C_5265_> arg0)
public boolean
a(Predicate<abb> arg0, Predicate<abb> arg1)
verifyIfPresent(Predicate<ResourceLocation> arg0, Predicate<ResourceLocation> arg1)
method_32832(Predicate<class_2960> arg0, Predicate<class_2960> arg1)
m_ozkcpocm(Predicate<C_ncpywfca> arg0, Predicate<C_ncpywfca> arg1)
canAdd(Predicate<Identifier> directEntryPredicate, Predicate<Identifier> tagEntryPredicate)
verifyIfPresent(Predicate<Identifier> elementPredicate, Predicate<Identifier> tagPredicate)
m_215940_(Predicate<C_5265_> p_215942_, Predicate<C_5265_> arg1)