Uses of Interface
net.minecraft.nbt.Tag
Packages that use Tag
Package
Description
-
Uses of Tag in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type Tag -
Uses of Tag in net.minecraft.client.gui.screens.dialog
Method parameters in net.minecraft.client.gui.screens.dialog with type arguments of type TagModifier and TypeMethodDescriptionvoid
DialogConnectionAccess.sendCustomAction
(ResourceLocation pId, Optional<Tag> pPayload) -
Uses of Tag in net.minecraft.client.player.inventory
Fields in net.minecraft.client.player.inventory with type parameters of type TagModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.DynamicOps
<Tag> Hotbar.DEFAULT_OPS
-
Uses of Tag in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type TagModifier and TypeFieldDescriptionprivate final Grammar
<ResourceOrIdArgument.Result<T, Tag>> ResourceOrIdArgument.grammar
private static final com.mojang.serialization.DynamicOps
<Tag> ComponentArgument.OPS
static final com.mojang.serialization.DynamicOps
<Tag> ResourceOrIdArgument.OPS
private static final com.mojang.serialization.DynamicOps
<Tag> StyleArgument.OPS
NbtPathArgument.MatchElementNode.predicate
NbtPathArgument.MatchObjectNode.predicate
NbtPathArgument.MatchRootObjectNode.predicate
private static final CommandArgumentParser
<Tag> ComponentArgument.TAG_PARSER
private static final CommandArgumentParser
<Tag> NbtTagArgument.TAG_PARSER
private static final CommandArgumentParser
<Tag> StyleArgument.TAG_PARSER
Methods in net.minecraft.commands.arguments that return TagModifier and TypeMethodDescriptionNbtPathArgument.AllElementsNode.createPreferredParentTag()
NbtPathArgument.CompoundChildNode.createPreferredParentTag()
NbtPathArgument.IndexedElementNode.createPreferredParentTag()
NbtPathArgument.MatchElementNode.createPreferredParentTag()
NbtPathArgument.MatchObjectNode.createPreferredParentTag()
NbtPathArgument.MatchRootObjectNode.createPreferredParentTag()
NbtPathArgument.Node.createPreferredParentTag()
static <S> Tag
NbtTagArgument.getNbtTag
(com.mojang.brigadier.context.CommandContext<S> p_100663_, String p_100664_) Methods in net.minecraft.commands.arguments that return types with arguments of type TagModifier and TypeMethodDescriptionNbtPathArgument.createTagPredicate
(CompoundTag pTag) NbtPathArgument.NbtPath.getOrCreate
(Tag pTag, Supplier<Tag> pSupplier) NbtPathArgument.Node.getOrCreate
(List<Tag> pTags, Supplier<Tag> pSupplier) NbtPathArgument.NbtPath.getOrCreateParents
(Tag pTag) Methods in net.minecraft.commands.arguments with parameters of type TagModifier and TypeMethodDescriptionint
NbtPathArgument.NbtPath.countMatching
(Tag pTag) NbtPathArgument.NbtPath.getOrCreate
(Tag pTag, Supplier<Tag> pSupplier) NbtPathArgument.NbtPath.getOrCreateParents
(Tag pTag) void
void
NbtPathArgument.CompoundChildNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
NbtPathArgument.IndexedElementNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
void
void
NbtPathArgument.MatchRootObjectNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
void
void
void
void
void
void
void
static boolean
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
Method parameters in net.minecraft.commands.arguments with type arguments of type TagModifier and TypeMethodDescriptionprivate static int
private static int
NbtPathArgument.NbtPath.getOrCreate
(Tag pTag, Supplier<Tag> pSupplier) NbtPathArgument.Node.getOrCreate
(List<Tag> pTags, Supplier<Tag> pSupplier) NbtPathArgument.Node.getOrCreate
(List<Tag> pTags, Supplier<Tag> pSupplier) void
void
void
NbtPathArgument.CompoundChildNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
NbtPathArgument.CompoundChildNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
NbtPathArgument.IndexedElementNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
NbtPathArgument.IndexedElementNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
void
void
void
void
NbtPathArgument.MatchRootObjectNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
NbtPathArgument.MatchRootObjectNode.getOrCreateTag
(Tag pTag, Supplier<Tag> pSupplier, List<Tag> pTags) void
void
void
void
void
void
void
void
void
int
NbtPathArgument.NbtPath.insert
(int pIndex, CompoundTag pRootTag, List<Tag> pTagsToInsert) int
int
int
int
int
int
int
-
Uses of Tag in net.minecraft.commands.arguments.item
Fields in net.minecraft.commands.arguments.item with type parameters of type TagModifier and TypeFieldDescription(package private) final RegistryOps
<Tag> ItemParser.registryOps
ItemParser.tagParser
-
Uses of Tag in net.minecraft.commands.functions
Methods in net.minecraft.commands.functions with parameters of type Tag -
Uses of Tag in net.minecraft.core
Fields in net.minecraft.core with type parameters of type TagModifier and TypeFieldDescriptionRegistrySynchronization.PackedRegistryEntry.data
The field for thedata
record component.Methods in net.minecraft.core that return types with arguments of type TagModifier and TypeMethodDescriptionRegistrySynchronization.PackedRegistryEntry.data()
Returns the value of thedata
record component.Method parameters in net.minecraft.core with type arguments of type TagModifier and TypeMethodDescriptionstatic void
RegistrySynchronization.packRegistries
(com.mojang.serialization.DynamicOps<Tag> p_321796_, RegistryAccess p_321733_, Set<KnownPack> p_326143_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321539_) private static <T> void
RegistrySynchronization.packRegistry
(com.mojang.serialization.DynamicOps<Tag> p_321608_, RegistryDataLoader.RegistryData<T> p_321701_, RegistryAccess p_321717_, Set<KnownPack> p_326432_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321724_) Constructor parameters in net.minecraft.core with type arguments of type TagModifierConstructorDescriptionPackedRegistryEntry
(ResourceLocation id, Optional<Tag> data) Creates an instance of aPackedRegistryEntry
record class. -
Uses of Tag in net.minecraft.nbt
Classes in net.minecraft.nbt with type parameters of type TagModifier and TypeInterfaceDescriptioninterface
static interface
TagType.StaticSize<T extends Tag>
static interface
TagType.VariableSize<T extends Tag>
Subinterfaces of Tag in net.minecraft.nbtModifier and TypeInterfaceDescriptioninterface
interface
interface
Classes in net.minecraft.nbt that implement TagModifier and TypeClassDescriptionfinal class
final record
final class
final record
final class
final record
final class
final record
final class
final class
final record
final record
final record
Fields in net.minecraft.nbt with type parameters of type TagMethods in net.minecraft.nbt that return TagModifier and TypeMethodDescriptionByteArrayTag.copy()
default Tag
PrimitiveTag.copy()
Tag.copy()
NbtOps.createBoolean
(boolean pData) NbtOps.createByte
(byte pData) NbtOps.createByteList
(ByteBuffer pData) NbtOps.createDouble
(double pData) NbtOps.createFloat
(float pData) NbtOps.createInt
(int pData) NbtOps.createIntList
(IntStream pData) NbtOps.createList
(Stream<Tag> pData) NbtOps.createLong
(long pData) NbtOps.createLongList
(LongStream pData) NbtOps.createNumeric
(Number pData) NbtOps.createShort
(short pData) NbtOps.createString
(String pData) NbtOps.empty()
CollectionTag.get
(int pIndex) ListTag.get
(int pIndex) private Tag
ListTag.getNullable
(int pIndex) static Tag
NbtIo.readAnyTag
(DataInput pInput, NbtAccounter pAccounter) (package private) static Tag
CompoundTag.readNamedTagData
(TagType<?> pType, String pName, DataInput pInput, NbtAccounter pAccounter) private static Tag
NbtIo.readTagSafe
(DataInput pInput, NbtAccounter pAccounter, byte pType) static Tag
NbtIo.readUnnamedTag
(DataInput pInput, NbtAccounter pAccounter) CollectionTag.remove
(int pIndex) ListTag.remove
(int pIndex) NbtOps.ByteListCollector.result()
NbtOps.GenericListCollector.result()
NbtOps.IntListCollector.result()
NbtOps.ListCollector.result()
NbtOps.LongListCollector.result()
private static Tag
ListTag.tryUnwrap
(CompoundTag pTag) private static Tag
ListTag.wrapIfNeeded
(byte pElementType, Tag pTag) Methods in net.minecraft.nbt that return types with arguments of type TagModifier and TypeMethodDescriptionprotected com.mojang.serialization.DataResult
<Tag> NbtOps.NbtRecordBuilder.build
(CompoundTag p_129190_, Tag p_129191_) CompoundTag.entrySet()
com.mojang.serialization.DataResult
<com.mojang.serialization.MapLike<Tag>> com.mojang.serialization.DataResult
<Consumer<BiConsumer<Tag, Tag>>> NbtOps.getMapEntries
(Tag p_129103_) com.mojang.serialization.DataResult
<Consumer<BiConsumer<Tag, Tag>>> NbtOps.getMapEntries
(Tag p_129103_) NbtOps.getMapValues
(Tag p_129070_) NbtOps.getMapValues
(Tag p_129070_) CompoundTag.getOptional
(String pKey) ListTag.getOptional
(int pIndex) CollectionTag.iterator()
com.mojang.serialization.RecordBuilder
<Tag> NbtOps.mapBuilder()
com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToList
(Tag p_129038_, List<Tag> p_129039_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToList
(Tag p_129041_, Tag p_129042_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_129032_, com.mojang.serialization.MapLike<Tag> p_129033_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_341945_, Map<Tag, Tag> p_341920_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_129044_, Tag p_129045_, Tag p_129046_) CollectionTag.stream()
ListTag.stream()
CompoundTag.values()
Methods in net.minecraft.nbt with parameters of type TagModifier and TypeMethodDescriptionvoid
void
ListTag.addAndUnwrap
(Tag pTag) boolean
boolean
boolean
boolean
boolean
protected CompoundTag
NbtOps.NbtRecordBuilder.append
(String pKey, Tag pValue, CompoundTag pTag) private void
TextComponentTagVisitor.appendSubTag
(Tag pTag, boolean pIndent) protected com.mojang.serialization.DataResult
<Tag> NbtOps.NbtRecordBuilder.build
(CompoundTag p_129190_, Tag p_129191_) private static CompoundTag
TagParser.castToCompoundOrThrow
(com.mojang.brigadier.StringReader p_400179_, Tag p_399751_) static boolean
NbtUtils.compareNbt
(Tag pTag, Tag pOther, boolean pCompareListTag) <U> U
private static Optional
<NbtOps.ListCollector> NbtOps.createCollector
(Tag pTag) com.mojang.serialization.DataResult
<ByteBuffer> NbtOps.getByteBuffer
(Tag p_129132_) com.mojang.serialization.DataResult
<IntStream> NbtOps.getIntStream
(Tag p_129134_) com.mojang.serialization.DataResult
<LongStream> NbtOps.getLongStream
(Tag p_129136_) com.mojang.serialization.DataResult
<com.mojang.serialization.MapLike<Tag>> com.mojang.serialization.DataResult
<Consumer<BiConsumer<Tag, Tag>>> NbtOps.getMapEntries
(Tag p_129103_) NbtOps.getMapValues
(Tag p_129070_) com.mojang.serialization.DataResult
<Number> NbtOps.getNumberValue
(Tag p_129030_) com.mojang.serialization.DataResult
<String> NbtOps.getStringValue
(Tag p_129061_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToList
(Tag p_129038_, List<Tag> p_129039_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToList
(Tag p_129041_, Tag p_129042_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_129032_, com.mojang.serialization.MapLike<Tag> p_129033_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_341945_, Map<Tag, Tag> p_341920_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_129044_, Tag p_129045_, Tag p_129046_) static StringBuilder
NbtUtils.prettyPrint
(StringBuilder pStringBuilder, Tag pTag, int pIndentLevel, boolean pPrettyPrintArray) static String
NbtUtils.prettyPrint
(Tag pTag) static String
NbtUtils.prettyPrint
(Tag pTag, boolean pPrettyPrintArray) boolean
boolean
boolean
boolean
boolean
static Component
NbtUtils.toPrettyComponent
(Tag pTag) private static CompoundTag
ListTag.wrapElement
(Tag pTag) private static Tag
ListTag.wrapIfNeeded
(byte pElementType, Tag pTag) static void
NbtIo.writeAnyTag
(Tag pTag, DataOutput pOutput) private static void
CompoundTag.writeNamedTag
(String pName, Tag pTag, DataOutput pOutput) static void
NbtIo.writeUnnamedTag
(Tag pTag, DataOutput pOutput) static void
NbtIo.writeUnnamedTagWithFallback
(Tag pTag, DataOutput pOutput) Method parameters in net.minecraft.nbt with type arguments of type TagModifier and TypeMethodDescriptiondefault NbtOps.ListCollector
default NbtOps.ListCollector
NbtOps.createList
(Stream<Tag> pData) void
CompoundTag.forEach
(BiConsumer<String, Tag> pAction) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToList
(Tag p_129038_, List<Tag> p_129039_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_129032_, com.mojang.serialization.MapLike<Tag> p_129033_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_341945_, Map<Tag, Tag> p_341920_) com.mojang.serialization.DataResult
<Tag> NbtOps.mergeToMap
(Tag p_341945_, Map<Tag, Tag> p_341920_) <T> Optional
<T> CompoundTag.read
(com.mojang.serialization.MapCodec<T> p_401418_, com.mojang.serialization.DynamicOps<Tag> p_401213_) <T> Optional
<T> CompoundTag.read
(String p_401362_, com.mojang.serialization.Codec<T> p_401434_, com.mojang.serialization.DynamicOps<Tag> p_401431_) <T> void
CompoundTag.store
(com.mojang.serialization.MapCodec<T> p_401165_, com.mojang.serialization.DynamicOps<Tag> p_401224_, T p_401226_) <T> void
CompoundTag.store
(String p_401002_, com.mojang.serialization.Codec<T> p_401379_, com.mojang.serialization.DynamicOps<Tag> p_401063_, T p_401119_) <T> void
CompoundTag.storeNullable
(String p_404778_, com.mojang.serialization.Codec<T> p_405437_, com.mojang.serialization.DynamicOps<Tag> p_405108_, T p_405353_) Constructor parameters in net.minecraft.nbt with type arguments of type Tag -
Uses of Tag in net.minecraft.nbt.visitors
Fields in net.minecraft.nbt.visitors declared as TagMethods in net.minecraft.nbt.visitors that return TagModifier and TypeMethodDescriptionCollectToTag.CompoundBuilder.build()
CollectToTag.ContainerBuilder.build()
CollectToTag.ListBuilder.build()
CollectToTag.RootBuilder.build()
CollectToTag.getResult()
Methods in net.minecraft.nbt.visitors with parameters of type TagModifier and TypeMethodDescriptionvoid
CollectToTag.CompoundBuilder.acceptValue
(Tag p_410777_) void
CollectToTag.ContainerBuilder.acceptValue
(Tag pTag) void
CollectToTag.ListBuilder.acceptValue
(Tag p_410836_) void
CollectToTag.RootBuilder.acceptValue
(Tag p_410356_) private void
CollectToTag.appendEntry
(Tag pTag) -
Uses of Tag in net.minecraft.network
Methods in net.minecraft.network that return TagModifier and TypeMethodDescriptionstatic Tag
FriendlyByteBuf.readNbt
(io.netty.buffer.ByteBuf p_320170_, NbtAccounter p_320055_) FriendlyByteBuf.readNbt
(NbtAccounter pNbtAccounter) Methods in net.minecraft.network with parameters of type TagModifier and TypeMethodDescriptionstatic void
Method parameters in net.minecraft.network with type arguments of type TagModifier and TypeMethodDescription<T> T
FriendlyByteBuf.readWithCodec
(com.mojang.serialization.DynamicOps<Tag> p_266903_, com.mojang.serialization.Codec<T> p_267107_, NbtAccounter p_295027_) Deprecated.<T> T
FriendlyByteBuf.readWithCodecTrusted
(com.mojang.serialization.DynamicOps<Tag> p_295347_, com.mojang.serialization.Codec<T> p_296304_) Deprecated.<T> FriendlyByteBuf
FriendlyByteBuf.writeWithCodec
(com.mojang.serialization.DynamicOps<Tag> p_266702_, com.mojang.serialization.Codec<T> p_267245_, T p_266783_) Deprecated. -
Uses of Tag in net.minecraft.network.chat
Fields in net.minecraft.network.chat with type parameters of type TagModifier and TypeFieldDescriptionClickEvent.Custom.payload
The field for thepayload
record component.Methods in net.minecraft.network.chat that return types with arguments of type TagModifier and TypeMethodDescriptionClickEvent.Custom.payload()
Returns the value of thepayload
record component.Constructor parameters in net.minecraft.network.chat with type arguments of type TagModifierConstructorDescriptionCustom
(ResourceLocation id, Optional<Tag> payload) Creates an instance of aCustom
record class. -
Uses of Tag in net.minecraft.network.chat.contents
Methods in net.minecraft.network.chat.contents with parameters of type Tag -
Uses of Tag in net.minecraft.network.codec
Fields in net.minecraft.network.codec with type parameters of type TagModifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.TAG
static final StreamCodec
<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.TRUSTED_TAG
Methods in net.minecraft.network.codec that return types with arguments of type TagModifier and TypeMethodDescriptionstatic StreamCodec
<io.netty.buffer.ByteBuf, Optional<Tag>> ByteBufCodecs.optionalTagCodec
(Supplier<NbtAccounter> pAccounter) static StreamCodec
<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.tagCodec
(Supplier<NbtAccounter> pAccounter) -
Uses of Tag in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common with type parameters of type TagModifier and TypeFieldDescriptionServerboundCustomClickActionPacket.payload
The field for thepayload
record component.private static final StreamCodec
<io.netty.buffer.ByteBuf, Optional<Tag>> ServerboundCustomClickActionPacket.UNTRUSTED_TAG_CODEC
Methods in net.minecraft.network.protocol.common that return types with arguments of type TagModifier and TypeMethodDescriptionServerboundCustomClickActionPacket.payload()
Returns the value of thepayload
record component.Constructor parameters in net.minecraft.network.protocol.common with type arguments of type TagModifierConstructorDescriptionServerboundCustomClickActionPacket
(ResourceLocation id, Optional<Tag> payload) Creates an instance of aServerboundCustomClickActionPacket
record class. -
Uses of Tag in net.minecraft.server
Method parameters in net.minecraft.server with type arguments of type TagModifier and TypeMethodDescriptionvoid
MinecraftServer.handleCustomClickAction
(ResourceLocation pId, Optional<Tag> pPayload) -
Uses of Tag in net.minecraft.server.commands
Method parameters in net.minecraft.server.commands with type arguments of type TagModifier and TypeMethodDescriptionprivate static CommandSourceStack
ExecuteCommand.storeData
(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath, IntFunction<Tag> pTagConverter, boolean pStoringResult) -
Uses of Tag in net.minecraft.server.commands.data
Methods in net.minecraft.server.commands.data that return TagModifier and TypeMethodDescriptionstatic Tag
DataCommands.getSingleTag
(NbtPathArgument.NbtPath pPath, DataAccessor pAccessor) Methods in net.minecraft.server.commands.data that return types with arguments of type TagModifier and TypeMethodDescriptionDataCommands.getSingletonSource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_265108_, DataCommands.DataProvider p_265370_) DataCommands.resolveSourcePath
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_265468_, DataCommands.DataProvider p_265670_) DataCommands.stringifyTagList
(List<Tag> pTagList, DataCommands.StringProcessor pProcessor) Methods in net.minecraft.server.commands.data with parameters of type TagModifier and TypeMethodDescriptionprivate static String
BlockDataAccessor.getPrintSuccess
(Tag pNbt) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)DataAccessor.getPrintSuccess
(Tag pNbt) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)EntityDataAccessor.getPrintSuccess
(Tag pNbt) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)StorageDataAccessor.getPrintSuccess
(Tag pNbt) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)Method parameters in net.minecraft.server.commands.data with type arguments of type TagModifier and TypeMethodDescriptionprivate static int
DataCommands.manipulateData
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139376_, DataCommands.DataProvider p_139377_, DataCommands.DataManipulator p_139378_, List<Tag> p_139379_) int
DataCommands.DataManipulator.modify
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139496_, CompoundTag p_139497_, NbtPathArgument.NbtPath p_139498_, List<Tag> p_139499_) DataCommands.stringifyTagList
(List<Tag> pTagList, DataCommands.StringProcessor pProcessor) -
Uses of Tag in net.minecraft.server.dialog.action
Methods in net.minecraft.server.dialog.action that return Tag -
Uses of Tag in net.minecraft.util
Fields in net.minecraft.util with type parameters of type Tag -
Uses of Tag in net.minecraft.util.datafix.fixes
Fields in net.minecraft.util.datafix.fixes with type parameters of type TagModifier and TypeFieldDescriptionstatic final Map
<com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<Tag>, com.mojang.serialization.Dynamic<Tag>>, ResourceLocation> TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.CONFIGS_TO_KEY
static final Map
<com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<Tag>, com.mojang.serialization.Dynamic<Tag>>, ResourceLocation> TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.CONFIGS_TO_KEY
Methods in net.minecraft.util.datafix.fixes that return types with arguments of type TagModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Dynamic
<Tag> TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.asDynamic
(CompoundTag p_368632_) Method parameters in net.minecraft.util.datafix.fixes with type arguments of type Tag -
Uses of Tag in net.minecraft.world.item.component
Method parameters in net.minecraft.world.item.component with type arguments of type TagModifier and TypeMethodDescription<T> com.mojang.serialization.DataResult
<T> CustomData.read
(com.mojang.serialization.DynamicOps<Tag> p_346230_, com.mojang.serialization.MapDecoder<T> p_344951_) <T> com.mojang.serialization.DataResult
<CustomData> CustomData.update
(com.mojang.serialization.DynamicOps<Tag> p_346001_, com.mojang.serialization.MapEncoder<T> p_331823_, T p_332045_) -
Uses of Tag in net.minecraft.world.level.chunk.storage
Methods in net.minecraft.world.level.chunk.storage that return types with arguments of type TagModifier and TypeMethodDescriptioncom.mojang.serialization.Dynamic
<Tag> SimpleRegionStorage.upgradeChunkTag
(com.mojang.serialization.Dynamic<Tag> p_321643_, int p_321759_) Methods in net.minecraft.world.level.chunk.storage with parameters of type TagModifier and TypeMethodDescriptionstatic <T> SectionStorage.PackedChunk
<T> SectionStorage.PackedChunk.parse
(com.mojang.serialization.Codec<T> p_365233_, com.mojang.serialization.DynamicOps<Tag> p_363840_, Tag p_364375_, SimpleRegionStorage p_362076_, LevelHeightAccessor p_362314_) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type TagModifier and TypeMethodDescriptionstatic <T> SectionStorage.PackedChunk
<T> SectionStorage.PackedChunk.parse
(com.mojang.serialization.Codec<T> p_365233_, com.mojang.serialization.DynamicOps<Tag> p_363840_, Tag p_364375_, SimpleRegionStorage p_362076_, LevelHeightAccessor p_362314_) com.mojang.serialization.Dynamic
<Tag> SimpleRegionStorage.upgradeChunkTag
(com.mojang.serialization.Dynamic<Tag> p_321643_, int p_321759_) -
Uses of Tag in net.minecraft.world.level.levelgen.structure.pieces
Methods in net.minecraft.world.level.levelgen.structure.pieces that return TagModifier and TypeMethodDescriptionPiecesContainer.save
(StructurePieceSerializationContext pContext) -
Uses of Tag in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as TagModifier and TypeFieldDescriptionprivate final Tag
TagValueInput.DecodeFromFieldFailedProblem.tag
The field for thetag
record component.private final Tag
TagValueInput.DecodeFromListFailedProblem.tag
The field for thetag
record component.Fields in net.minecraft.world.level.storage with type parameters of type TagModifier and TypeFieldDescriptionprivate final com.mojang.serialization.DynamicOps
<Tag> TagValueOutput.ListWrapper.ops
private final com.mojang.serialization.DynamicOps
<Tag> TagValueOutput.ops
private final com.mojang.serialization.DynamicOps
<Tag> TagValueOutput.TypedListWrapper.ops
private final com.mojang.serialization.DynamicOps
<Tag> ValueInputContextHelper.ops
Methods in net.minecraft.world.level.storage with type parameters of type TagModifier and TypeMethodDescriptionprivate <T extends Tag>
TTagValueInput.getOptionalTypedTag
(String pKey, TagType<T> pType) Methods in net.minecraft.world.level.storage that return TagModifier and TypeMethodDescriptionprivate static Tag
LevelStorageSource.readLightweightData
(Path pFile) TagValueInput.DecodeFromFieldFailedProblem.tag()
Returns the value of thetag
record component.TagValueInput.DecodeFromListFailedProblem.tag()
Returns the value of thetag
record component.Methods in net.minecraft.world.level.storage that return types with arguments of type TagModifier and TypeMethodDescriptioncom.mojang.serialization.DynamicOps
<Tag> ValueInputContextHelper.ops()
Methods in net.minecraft.world.level.storage with parameters of type TagModifier and TypeMethodDescription(package private) void
TagValueInput.ListWrapper.reportIndexUnwrapProblem
(int pIndex, Tag pTag) (package private) void
TagValueInput.TypedListWrapper.reportIndexUnwrapProblem
(int p_422123_, Tag p_421922_, com.mojang.serialization.DataResult.Error<?> p_422537_) Method parameters in net.minecraft.world.level.storage with type arguments of type TagModifier and TypeMethodDescriptionprivate <T extends SavedData>
CompoundTagDimensionDataStorage.encodeUnchecked
(SavedDataType<T> pType, SavedData pData, RegistryOps<Tag> pOps) Constructors in net.minecraft.world.level.storage with parameters of type TagModifierConstructorDescriptionDecodeFromFieldFailedProblem
(String name, Tag tag, com.mojang.serialization.DataResult.Error<?> error) Creates an instance of aDecodeFromFieldFailedProblem
record class.DecodeFromListFailedProblem
(String name, int index, Tag tag, com.mojang.serialization.DataResult.Error<?> error) Creates an instance of aDecodeFromListFailedProblem
record class.Constructor parameters in net.minecraft.world.level.storage with type arguments of type TagModifierConstructorDescription(package private)
ListWrapper
(String p_422379_, ProblemReporter p_422378_, com.mojang.serialization.DynamicOps<Tag> p_421795_, ListTag p_422539_) (package private)
TagValueOutput
(ProblemReporter p_422479_, com.mojang.serialization.DynamicOps<Tag> p_421675_, CompoundTag p_421646_) (package private)
TypedListWrapper
(ProblemReporter p_421630_, String p_422227_, com.mojang.serialization.DynamicOps<Tag> p_421918_, com.mojang.serialization.Codec<T> p_422399_, ListTag p_422402_) ValueInputContextHelper
(HolderLookup.Provider p_422712_, com.mojang.serialization.DynamicOps<Tag> p_421992_) -
Uses of Tag in net.minecraft.world.level.storage.loot.functions
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type TagModifier and TypeMethodDescriptionvoid
abstract void
CopyCustomDataFunction.MergeStrategy.merge
(Tag pTag, NbtPathArgument.NbtPath pPath, List<Tag> pCurrentData) Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type Tag -
Uses of Tag in net.minecraft.world.level.storage.loot.providers.nbt
Methods in net.minecraft.world.level.storage.loot.providers.nbt that return TagModifier and TypeMethodDescriptionContextNbtProvider.get
(LootContext pLootContext) ContextNbtProvider.Getter.get
(LootContext pLootContext) NbtProvider.get
(LootContext pLootContext) StorageNbtProvider.get
(LootContext pLootContext)