net.minecraft.tags

public class TagEntry

axd
net.minecraft.tags.TagEntry
net.minecraft.class_3497
net.minecraft.registry.tag.TagEntry
net.minecraft.tags.TagEntry

Field summary

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

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()
public static TagEntry
a(akv arg0)
element(ResourceLocation arg0)
method_43937(class_2960 arg0)
create(Identifier id)
public static TagEntry
b(akv arg0)
optionalElement(ResourceLocation arg0)
method_43942(class_2960 arg0)
createOptional(Identifier id)
public static TagEntry
c(akv arg0)
tag(ResourceLocation arg0)
method_43945(class_2960 arg0)
createTag(Identifier id)
public static TagEntry
d(akv arg0)
optionalTag(ResourceLocation arg0)
method_43947(class_2960 arg0)
createOptionalTag(Identifier id)
public <T> boolean
a(axd$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)
public void
a(Consumer<akv> arg0)
visitRequiredDependencies(Consumer<ResourceLocation> arg0)
method_32831(Consumer<class_2960> arg0)
forEachRequiredTagId(Consumer<Identifier> idConsumer)
public void
b(Consumer<akv> arg0)
visitOptionalDependencies(Consumer<ResourceLocation> arg0)
method_43944(Consumer<class_2960> arg0)
forEachOptionalTagId(Consumer<Identifier> idConsumer)
public boolean
a(Predicate<akv> arg0, Predicate<akv> 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)