Uses of Class
net.minecraft.tags.TagEntry
Package
Description
-
Uses of TagEntry in net.minecraft.data.tags
-
Uses of TagEntry in net.minecraft.tags
Modifier and TypeFieldDescriptionprivate final TagEntry
TagLoader.EntryWithSource.entry
The field for theentry
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TagEntry>
TagEntry.CODEC
TagBuilder.entries
TagFile.entries
The field for theentries
record component.private static final com.mojang.serialization.Codec<TagEntry>
TagEntry.FULL_CODEC
TagFile.remove
The field for theremove
record component.TagBuilder.removeEntries
Modifier and TypeMethodDescriptionstatic TagEntry
TagEntry.element
(ResourceLocation p_215926_) TagLoader.EntryWithSource.entry()
Returns the value of theentry
record component.static TagEntry
TagEntry.optionalElement
(ResourceLocation p_215944_) static TagEntry
TagEntry.optionalTag
(ResourceLocation p_215954_) static TagEntry
TagEntry.tag
(ResourceLocation p_215950_) Modifier and TypeMethodDescriptionTagBuilder.build()
TagFile.entries()
Returns the value of theentries
record component.TagBuilder.getRemoveEntries()
TagFile.remove()
Returns the value of theremove
record component.Modifier and TypeMethodDescriptionModifierConstructorDescriptionEntryWithSource
(TagEntry entry, String source) EntryWithSource
(TagEntry entry, String source, boolean remove) Creates an instance of aEntryWithSource
record class. -
Uses of TagEntry in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic <T> void
CommonHooks.deserializeTagAdditions
(List<TagEntry> list, com.google.gson.JsonObject json, List<TagEntry> allList) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of TagEntry in net.neoforged.neoforge.common.extensions
TagFile(List, boolean, List)
which has support for remove entries.