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 TypeMethodDescriptionvoidDialogConnectionAccess.sendCustomAction(ResourceLocation pId, Optional<Tag> pPayload) -
Uses of Tag in net.minecraft.client.multiplayer
Method parameters in net.minecraft.client.multiplayer with type arguments of type TagModifier and TypeMethodDescriptionvoidClientCommonPacketListenerImpl.CommonDialogAccess.sendCustomAction(ResourceLocation p_437325_, Optional<Tag> p_437224_) -
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.grammarprivate static final com.mojang.serialization.DynamicOps<Tag> ComponentArgument.OPSstatic final com.mojang.serialization.DynamicOps<Tag> ResourceOrIdArgument.OPSprivate static final com.mojang.serialization.DynamicOps<Tag> StyleArgument.OPSNbtPathArgument.MatchElementNode.predicateNbtPathArgument.MatchObjectNode.predicateNbtPathArgument.MatchRootObjectNode.predicateprivate static final CommandArgumentParser<Tag> ComponentArgument.TAG_PARSERprivate static final CommandArgumentParser<Tag> NbtTagArgument.TAG_PARSERprivate static final CommandArgumentParser<Tag> StyleArgument.TAG_PARSERMethods 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> TagMethods 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 TypeMethodDescriptionintNbtPathArgument.NbtPath.countMatching(Tag pTag) NbtPathArgument.NbtPath.getOrCreate(Tag pTag, Supplier<Tag> pSupplier) NbtPathArgument.NbtPath.getOrCreateParents(Tag pTag) voidNbtPathArgument.AllElementsNode.getOrCreateTag(Tag p_99528_, Supplier<Tag> p_99529_, List<Tag> p_99530_) voidNbtPathArgument.CompoundChildNode.getOrCreateTag(Tag p_99544_, Supplier<Tag> p_99545_, List<Tag> p_99546_) voidNbtPathArgument.IndexedElementNode.getOrCreateTag(Tag p_99560_, Supplier<Tag> p_99561_, List<Tag> p_99562_) voidNbtPathArgument.MatchElementNode.getOrCreateTag(Tag p_99581_, Supplier<Tag> p_99582_, List<Tag> p_99583_) voidNbtPathArgument.MatchObjectNode.getOrCreateTag(Tag p_99600_, Supplier<Tag> p_99601_, List<Tag> p_99602_) voidNbtPathArgument.MatchRootObjectNode.getOrCreateTag(Tag p_99616_, Supplier<Tag> p_99617_, List<Tag> p_99618_) voidvoidvoidvoidvoidvoidvoidvoidstatic booleanintintintintintintintintintintintintintintintintMethod parameters in net.minecraft.commands.arguments with type arguments of type TagModifier and TypeMethodDescriptionprivate static intprivate static intNbtPathArgument.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) voidNbtPathArgument.AllElementsNode.getOrCreateTag(Tag p_99528_, Supplier<Tag> p_99529_, List<Tag> p_99530_) voidNbtPathArgument.AllElementsNode.getOrCreateTag(Tag p_99528_, Supplier<Tag> p_99529_, List<Tag> p_99530_) voidNbtPathArgument.CompoundChildNode.getOrCreateTag(Tag p_99544_, Supplier<Tag> p_99545_, List<Tag> p_99546_) voidNbtPathArgument.CompoundChildNode.getOrCreateTag(Tag p_99544_, Supplier<Tag> p_99545_, List<Tag> p_99546_) voidNbtPathArgument.IndexedElementNode.getOrCreateTag(Tag p_99560_, Supplier<Tag> p_99561_, List<Tag> p_99562_) voidNbtPathArgument.IndexedElementNode.getOrCreateTag(Tag p_99560_, Supplier<Tag> p_99561_, List<Tag> p_99562_) voidNbtPathArgument.MatchElementNode.getOrCreateTag(Tag p_99581_, Supplier<Tag> p_99582_, List<Tag> p_99583_) voidNbtPathArgument.MatchElementNode.getOrCreateTag(Tag p_99581_, Supplier<Tag> p_99582_, List<Tag> p_99583_) voidNbtPathArgument.MatchObjectNode.getOrCreateTag(Tag p_99600_, Supplier<Tag> p_99601_, List<Tag> p_99602_) voidNbtPathArgument.MatchObjectNode.getOrCreateTag(Tag p_99600_, Supplier<Tag> p_99601_, List<Tag> p_99602_) voidNbtPathArgument.MatchRootObjectNode.getOrCreateTag(Tag p_99616_, Supplier<Tag> p_99617_, List<Tag> p_99618_) voidNbtPathArgument.MatchRootObjectNode.getOrCreateTag(Tag p_99616_, Supplier<Tag> p_99617_, List<Tag> p_99618_) voidvoidvoidvoidvoidvoidvoidvoidvoidintNbtPathArgument.NbtPath.insert(int pIndex, CompoundTag pRootTag, List<Tag> pTagsToInsert) intintintintintintint -
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.registryOpsItemParser.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.dataThe field for thedatarecord component.Methods in net.minecraft.core that return types with arguments of type TagModifier and TypeMethodDescriptionRegistrySynchronization.PackedRegistryEntry.data()Returns the value of thedatarecord component.Method parameters in net.minecraft.core with type arguments of type TagModifier and TypeMethodDescriptionstatic voidRegistrySynchronization.packRegistries(com.mojang.serialization.DynamicOps<Tag> pOps, RegistryAccess pRegistryAccess, Set<KnownPack> pPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> pPacketSender) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> pOps, RegistryDataLoader.RegistryData<T> pRegistryData, RegistryAccess pRegistryAccess, Set<KnownPack> pPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> pPacketSender) Constructor parameters in net.minecraft.core with type arguments of type TagModifierConstructorDescriptionPackedRegistryEntry(ResourceLocation id, Optional<Tag> data) Creates an instance of aPackedRegistryEntryrecord class. -
Uses of Tag in net.minecraft.nbt
Classes in net.minecraft.nbt with type parameters of type TagModifier and TypeInterfaceDescriptioninterfacestatic interfaceTagType.StaticSize<T extends Tag>static interfaceTagType.VariableSize<T extends Tag>Subinterfaces of Tag in net.minecraft.nbtModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceClasses in net.minecraft.nbt that implement TagModifier and TypeClassDescriptionfinal classfinal recordfinal classfinal recordfinal classfinal recordfinal classfinal recordfinal classfinal classfinal recordfinal recordfinal recordFields in net.minecraft.nbt with type parameters of type TagMethods in net.minecraft.nbt that return TagModifier and TypeMethodDescriptionByteArrayTag.copy()default TagPrimitiveTag.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 TagListTag.getNullable(int pIndex) static TagNbtIo.readAnyTag(DataInput pInput, NbtAccounter pAccounter) (package private) static TagCompoundTag.readNamedTagData(TagType<?> pType, String pName, DataInput pInput, NbtAccounter pAccounter) private static TagNbtIo.readTagSafe(DataInput pInput, NbtAccounter pAccounter, byte pType) static TagNbtIo.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 TagListTag.tryUnwrap(CompoundTag pTag) private static TagListTag.wrapIfNeeded(byte pElementType, Tag pTag) Methods in net.minecraft.nbt that return types with arguments of type TagModifier and TypeMethodDescriptionstatic com.mojang.serialization.Dynamic<Tag> NbtUtils.addCurrentDataVersion(com.mojang.serialization.Dynamic<Tag> pTag) static com.mojang.serialization.Dynamic<Tag> NbtUtils.addDataVersion(com.mojang.serialization.Dynamic<Tag> pTag, int pDataVersion) protected 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 pMap) com.mojang.serialization.DataResult<Consumer<BiConsumer<Tag, Tag>>> NbtOps.getMapEntries(Tag pMap) NbtOps.getMapValues(Tag pMap) NbtOps.getMapValues(Tag pMap) 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 pList, List<Tag> pTags) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag pList, Tag pTag) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag pMap, com.mojang.serialization.MapLike<Tag> pOtherMap) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag p_341945_, Map<Tag, Tag> p_341920_) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag pMap, Tag pKey, Tag pValue) CollectionTag.stream()ListTag.stream()CompoundTag.values()Methods in net.minecraft.nbt with parameters of type TagModifier and TypeMethodDescriptionvoidvoidListTag.addAndUnwrap(Tag pTag) booleanbooleanbooleanbooleanbooleanprotected CompoundTagNbtOps.NbtRecordBuilder.append(String pKey, Tag pValue, CompoundTag pTag) private voidTextComponentTagVisitor.appendSubTag(Tag pTag, boolean pIndent) protected com.mojang.serialization.DataResult<Tag> NbtOps.NbtRecordBuilder.build(CompoundTag p_129190_, Tag p_129191_) private static CompoundTagTagParser.castToCompoundOrThrow(com.mojang.brigadier.StringReader pReader, Tag pTag) static booleanNbtUtils.compareNbt(Tag pTag, Tag pOther, boolean pCompareListTag) <U> Uprivate static Optional<NbtOps.ListCollector> NbtOps.createCollector(Tag pTag) com.mojang.serialization.DataResult<ByteBuffer> NbtOps.getByteBuffer(Tag pTag) com.mojang.serialization.DataResult<IntStream> NbtOps.getIntStream(Tag pTag) com.mojang.serialization.DataResult<LongStream> NbtOps.getLongStream(Tag pTag) com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Tag>> com.mojang.serialization.DataResult<Consumer<BiConsumer<Tag, Tag>>> NbtOps.getMapEntries(Tag pMap) NbtOps.getMapValues(Tag pMap) com.mojang.serialization.DataResult<Number> NbtOps.getNumberValue(Tag pTag) com.mojang.serialization.DataResult<String> NbtOps.getStringValue(Tag pTag) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag pList, List<Tag> pTags) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag pList, Tag pTag) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag pMap, com.mojang.serialization.MapLike<Tag> pOtherMap) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag p_341945_, Map<Tag, Tag> p_341920_) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag pMap, Tag pKey, Tag pValue) static StringBuilderNbtUtils.prettyPrint(StringBuilder pStringBuilder, Tag pTag, int pIndentLevel, boolean pPrettyPrintArray) static StringNbtUtils.prettyPrint(Tag pTag) static StringNbtUtils.prettyPrint(Tag pTag, boolean pPrettyPrintArray) booleanbooleanbooleanbooleanbooleanstatic ComponentNbtUtils.toPrettyComponent(Tag pTag) private static CompoundTagListTag.wrapElement(Tag pTag) private static TagListTag.wrapIfNeeded(byte pElementType, Tag pTag) static voidNbtIo.writeAnyTag(Tag pTag, DataOutput pOutput) private static voidCompoundTag.writeNamedTag(String pName, Tag pTag, DataOutput pOutput) static voidNbtIo.writeUnnamedTag(Tag pTag, DataOutput pOutput) static voidNbtIo.writeUnnamedTagWithFallback(Tag pTag, DataOutput pOutput) Method parameters in net.minecraft.nbt with type arguments of type TagModifier and TypeMethodDescriptiondefault NbtOps.ListCollectordefault NbtOps.ListCollectorstatic com.mojang.serialization.Dynamic<Tag> NbtUtils.addCurrentDataVersion(com.mojang.serialization.Dynamic<Tag> pTag) static com.mojang.serialization.Dynamic<Tag> NbtUtils.addDataVersion(com.mojang.serialization.Dynamic<Tag> pTag, int pDataVersion) NbtOps.createList(Stream<Tag> pData) voidCompoundTag.forEach(BiConsumer<String, Tag> pAction) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag pList, List<Tag> pTags) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag pMap, com.mojang.serialization.MapLike<Tag> pOtherMap) 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> pMapCodec, com.mojang.serialization.DynamicOps<Tag> pOps) <T> Optional<T> CompoundTag.read(String pKey, com.mojang.serialization.Codec<T> pCodec, com.mojang.serialization.DynamicOps<Tag> pOps) <T> voidCompoundTag.store(com.mojang.serialization.MapCodec<T> pMapCodec, com.mojang.serialization.DynamicOps<Tag> pOps, T pData) <T> voidCompoundTag.store(String pKey, com.mojang.serialization.Codec<T> pCodec, com.mojang.serialization.DynamicOps<Tag> pOps, T pData) <T> voidCompoundTag.storeNullable(String pKey, com.mojang.serialization.Codec<T> pCodec, com.mojang.serialization.DynamicOps<Tag> pOps, T pData) 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 TypeMethodDescriptionvoidCollectToTag.CompoundBuilder.acceptValue(Tag p_410777_) voidCollectToTag.ContainerBuilder.acceptValue(Tag pTag) voidCollectToTag.ListBuilder.acceptValue(Tag p_410836_) voidCollectToTag.RootBuilder.acceptValue(Tag p_410356_) private voidCollectToTag.appendEntry(Tag pTag) -
Uses of Tag in net.minecraft.network
Methods in net.minecraft.network that return TagModifier and TypeMethodDescriptionstatic TagFriendlyByteBuf.readNbt(io.netty.buffer.ByteBuf pBuffer, NbtAccounter pNbtAccounter) FriendlyByteBuf.readNbt(NbtAccounter pNbtAccounter) Methods in net.minecraft.network with parameters of type TagModifier and TypeMethodDescriptionstatic voidMethod parameters in net.minecraft.network with type arguments of type TagModifier and TypeMethodDescription<T> TFriendlyByteBuf.readWithCodec(com.mojang.serialization.DynamicOps<Tag> pOps, com.mojang.serialization.Codec<T> pCodec, NbtAccounter pNbtAccounter) Deprecated.<T> TFriendlyByteBuf.readWithCodecTrusted(com.mojang.serialization.DynamicOps<Tag> pOps, com.mojang.serialization.Codec<T> pCodec) Deprecated.<T> FriendlyByteBufFriendlyByteBuf.writeWithCodec(com.mojang.serialization.DynamicOps<Tag> pOps, com.mojang.serialization.Codec<T> pCodec, T pValue) Deprecated. -
Uses of Tag in net.minecraft.network.chat
Fields in net.minecraft.network.chat with type parameters of type TagModifier and TypeFieldDescriptionClickEvent.Custom.payloadThe field for thepayloadrecord component.Methods in net.minecraft.network.chat that return types with arguments of type TagModifier and TypeMethodDescriptionClickEvent.Custom.payload()Returns the value of thepayloadrecord component.Constructor parameters in net.minecraft.network.chat with type arguments of type TagModifierConstructorDescriptionCustom(ResourceLocation id, Optional<Tag> payload) Creates an instance of aCustomrecord 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.TAGstatic final StreamCodec<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.TRUSTED_TAGMethods 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.payloadThe field for thepayloadrecord component.private static final StreamCodec<io.netty.buffer.ByteBuf, Optional<Tag>> ServerboundCustomClickActionPacket.UNTRUSTED_TAG_CODECMethods in net.minecraft.network.protocol.common that return types with arguments of type TagModifier and TypeMethodDescriptionServerboundCustomClickActionPacket.payload()Returns the value of thepayloadrecord component.Constructor parameters in net.minecraft.network.protocol.common with type arguments of type TagModifierConstructorDescriptionServerboundCustomClickActionPacket(ResourceLocation id, Optional<Tag> payload) Creates an instance of aServerboundCustomClickActionPacketrecord class. -
Uses of Tag in net.minecraft.server
Method parameters in net.minecraft.server with type arguments of type TagModifier and TypeMethodDescriptionvoidMinecraftServer.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 CommandSourceStackExecuteCommand.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 TagDataCommands.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> pContext, DataCommands.DataProvider pDataProvider) DataCommands.resolveSourcePath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, DataCommands.DataProvider pDataProvider) DataCommands.stringifyTagList(List<Tag> pTagList, DataCommands.StringProcessor pProcessor) Methods in net.minecraft.server.commands.data with parameters of type TagModifier and TypeMethodDescriptionprivate static StringBlockDataAccessor.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 intDataCommands.manipulateData(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pSource, DataCommands.DataProvider pDataProvider, DataCommands.DataManipulator pDataManipulator, List<Tag> pTags) intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, CompoundTag pNbt, NbtPathArgument.NbtPath pNbtPath, List<Tag> pTags) 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_KEYstatic final Map<com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<Tag>, com.mojang.serialization.Dynamic<Tag>>, ResourceLocation> TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.CONFIGS_TO_KEYMethods 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 pTag) Method parameters in net.minecraft.util.datafix.fixes with type arguments of type Tag -
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> pTag, int pVersion) 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> pCodec, com.mojang.serialization.DynamicOps<Tag> pOps, Tag pValue, SimpleRegionStorage pSimpleRegionStorage, LevelHeightAccessor pLevelHeightAccessor) 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> pCodec, com.mojang.serialization.DynamicOps<Tag> pOps, Tag pValue, SimpleRegionStorage pSimpleRegionStorage, LevelHeightAccessor pLevelHeightAccessor) com.mojang.serialization.Dynamic<Tag> SimpleRegionStorage.upgradeChunkTag(com.mojang.serialization.Dynamic<Tag> pTag, int pVersion) -
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 TagTagValueInput.DecodeFromFieldFailedProblem.tagThe field for thetagrecord component.private final TagTagValueInput.DecodeFromListFailedProblem.tagThe field for thetagrecord component.Fields in net.minecraft.world.level.storage with type parameters of type TagModifier and TypeFieldDescriptionprivate final com.mojang.serialization.DynamicOps<Tag> TagValueOutput.ListWrapper.opsprivate final com.mojang.serialization.DynamicOps<Tag> TagValueOutput.opsprivate final com.mojang.serialization.DynamicOps<Tag> TagValueOutput.TypedListWrapper.opsprivate final com.mojang.serialization.DynamicOps<Tag> ValueInputContextHelper.opsMethods 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 TagLevelStorageSource.readLightweightData(Path pFile) TagValueInput.DecodeFromFieldFailedProblem.tag()Returns the value of thetagrecord component.TagValueInput.DecodeFromListFailedProblem.tag()Returns the value of thetagrecord 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) voidTagValueInput.ListWrapper.reportIndexUnwrapProblem(int pIndex, Tag pTag) (package private) voidTagValueInput.TypedListWrapper.reportIndexUnwrapProblem(int pIndex, Tag pTag, com.mojang.serialization.DataResult.Error<?> pError) 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 aDecodeFromFieldFailedProblemrecord class.DecodeFromListFailedProblem(String name, int index, Tag tag, com.mojang.serialization.DataResult.Error<?> error) Creates an instance of aDecodeFromListFailedProblemrecord class.Constructor parameters in net.minecraft.world.level.storage with type arguments of type TagModifierConstructorDescription(package private)ListWrapper(String pFieldName, ProblemReporter pProblemReporter, com.mojang.serialization.DynamicOps<Tag> pOps, ListTag pOutput) (package private)TagValueOutput(ProblemReporter pProblemReporter, com.mojang.serialization.DynamicOps<Tag> pOps, CompoundTag pTag) (package private)TypedListWrapper(ProblemReporter pProblemReporter, String pName, com.mojang.serialization.DynamicOps<Tag> pOps, com.mojang.serialization.Codec<T> pCodec, ListTag pOutput) ValueInputContextHelper(HolderLookup.Provider pLookup, com.mojang.serialization.DynamicOps<Tag> pOps) -
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 TypeMethodDescriptionvoidabstract voidCopyCustomDataFunction.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.BlockEntitySource.get(BlockEntity p_451111_) ContextNbtProvider.get(LootContext p_165573_) default TagContextNbtProvider.Source.get(LootContext pContext) NbtProvider.get(LootContext pLootContext) StorageNbtProvider.get(LootContext p_165636_)