Uses of Interface
net.minecraft.nbt.Tag
Packages that use Tag
Package
Description
-
Uses of Tag in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion 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(Identifier id, Optional<Tag> payload) -
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(Identifier id, Optional<Tag> payload) -
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
Subclasses with type arguments of type Tag in net.minecraft.commands.argumentsFields 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 pattern) NbtPathArgument.NbtPath.getOrCreate(Tag tag, Supplier<Tag> newTagValue) NbtPathArgument.Node.getOrCreate(List<Tag> tags, Supplier<Tag> child) NbtPathArgument.NbtPath.getOrCreateParents(Tag tag) Methods in net.minecraft.commands.arguments with parameters of type TagModifier and TypeMethodDescriptionintNbtPathArgument.NbtPath.countMatching(Tag tag) NbtPathArgument.NbtPath.getOrCreate(Tag tag, Supplier<Tag> newTagValue) NbtPathArgument.NbtPath.getOrCreateParents(Tag tag) voidvoidvoidNbtPathArgument.IndexedElementNode.getOrCreateTag(Tag parent, Supplier<Tag> child, List<Tag> output) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidstatic booleanintintintintintintintintintintintintintintintintMethod parameters in net.minecraft.commands.arguments with type arguments of type TagModifier and TypeMethodDescriptionprivate static intprivate static intNbtPathArgument.NbtPath.getOrCreate(Tag tag, Supplier<Tag> newTagValue) NbtPathArgument.Node.getOrCreate(List<Tag> tags, Supplier<Tag> child) NbtPathArgument.Node.getOrCreate(List<Tag> tags, Supplier<Tag> child) voidvoidvoidvoidvoidNbtPathArgument.IndexedElementNode.getOrCreateTag(Tag parent, Supplier<Tag> child, List<Tag> output) voidNbtPathArgument.IndexedElementNode.getOrCreateTag(Tag parent, Supplier<Tag> child, List<Tag> output) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidintNbtPathArgument.NbtPath.insert(int index, CompoundTag target, List<Tag> toInsert) intintintintintintint -
Uses of Tag in net.minecraft.commands.arguments.item
Fields in net.minecraft.commands.arguments.item with type parameters of type TagModifier and TypeFieldDescriptionprivate 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> ops, RegistryAccess registries, Set<KnownPack> clientKnownPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> output) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> ops, RegistryDataLoader.RegistryData<T> registryData, RegistryAccess registries, Set<KnownPack> clientKnownPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> output) Constructor parameters in net.minecraft.core with type arguments of type TagModifierConstructorDescriptionPackedRegistryEntry(Identifier 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 recordSubclasses with type arguments of type Tag in net.minecraft.nbtSubinterfaces with type arguments of type Tag in net.minecraft.nbtClasses in net.minecraft.nbt that implement interfaces with type arguments of type TagFields 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 value) NbtOps.createByte(byte value) NbtOps.createByteList(ByteBuffer input) NbtOps.createDouble(double value) NbtOps.createFloat(float value) NbtOps.createInt(int value) NbtOps.createIntList(IntStream input) NbtOps.createList(Stream<Tag> input) NbtOps.createLong(long value) NbtOps.createLongList(LongStream input) NbtOps.createNumeric(Number i) NbtOps.createShort(short value) NbtOps.createString(String value) NbtOps.empty()NbtOps.emptyList()NbtOps.emptyMap()CollectionTag.get(int index) @Nullable TagListTag.get(int index) private @Nullable TagListTag.getNullable(int index) @Nullable Tagstatic TagNbtIo.readAnyTag(DataInput input, NbtAccounter accounter) private static TagCompoundTag.readNamedTagData(TagType<?> type, String name, DataInput input, NbtAccounter accounter) private static TagNbtIo.readTagSafe(DataInput input, NbtAccounter accounter, byte type) static TagNbtIo.readUnnamedTag(DataInput input, NbtAccounter accounter) CollectionTag.remove(int index) @Nullable TagListTag.remove(int index) NbtOps.ByteListCollector.result()NbtOps.GenericListCollector.result()NbtOps.IntListCollector.result()NbtOps.ListCollector.result()NbtOps.LongListCollector.result()private static TagListTag.tryUnwrap(CompoundTag tag) private static TagListTag.wrapIfNeeded(byte elementType, Tag tag) Methods in net.minecraft.nbt that return types with arguments of type TagModifier and TypeMethodDescriptionprotected com.mojang.serialization.DataResult<Tag> NbtOps.NbtRecordBuilder.build(CompoundTag builder, Tag prefix) CompoundTag.entrySet()com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Tag>> com.mojang.serialization.DataResult<Consumer<BiConsumer<Tag, Tag>>> NbtOps.getMapEntries(Tag input) com.mojang.serialization.DataResult<Consumer<BiConsumer<Tag, Tag>>> NbtOps.getMapEntries(Tag input) NbtOps.getMapValues(Tag input) NbtOps.getMapValues(Tag input) CompoundTag.getOptional(String name) ListTag.getOptional(int index) CollectionTag.iterator()com.mojang.serialization.RecordBuilder<Tag> NbtOps.mapBuilder()com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag list, List<Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag list, Tag value) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, com.mojang.serialization.MapLike<Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, Map<Tag, Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, Tag key, Tag value) CollectionTag.stream()ListTag.stream()CompoundTag.values()Methods in net.minecraft.nbt with parameters of type TagModifier and TypeMethodDescriptionvoidvoidListTag.addAndUnwrap(Tag tag) booleanbooleanbooleanbooleanbooleanprotected CompoundTagNbtOps.NbtRecordBuilder.append(String key, Tag value, CompoundTag builder) private voidTextComponentTagVisitor.appendSubTag(Tag tag, boolean indent) protected com.mojang.serialization.DataResult<Tag> NbtOps.NbtRecordBuilder.build(CompoundTag builder, Tag prefix) private static CompoundTagTagParser.castToCompoundOrThrow(com.mojang.brigadier.StringReader reader, Tag result) static booleanNbtUtils.compareNbt(@Nullable Tag expected, @Nullable Tag actual, boolean partialListMatches) <U> Uprivate static Optional<NbtOps.ListCollector> NbtOps.createCollector(Tag tag) com.mojang.serialization.DataResult<ByteBuffer> NbtOps.getByteBuffer(Tag input) com.mojang.serialization.DataResult<IntStream> NbtOps.getIntStream(Tag input) com.mojang.serialization.DataResult<LongStream> NbtOps.getLongStream(Tag input) com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Tag>> com.mojang.serialization.DataResult<Consumer<BiConsumer<Tag, Tag>>> NbtOps.getMapEntries(Tag input) NbtOps.getMapValues(Tag input) com.mojang.serialization.DataResult<Number> NbtOps.getNumberValue(Tag input) com.mojang.serialization.DataResult<String> NbtOps.getStringValue(Tag input) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag list, List<Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag list, Tag value) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, com.mojang.serialization.MapLike<Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, Map<Tag, Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, Tag key, Tag value) static StringBuilderNbtUtils.prettyPrint(StringBuilder builder, Tag input, int indent, boolean withBinaryBlobs) static StringNbtUtils.prettyPrint(Tag tag) static StringNbtUtils.prettyPrint(Tag tag, boolean withBinaryBlobs) @Nullable Tagbooleanbooleanbooleanbooleanbooleanstatic ComponentNbtUtils.toPrettyComponent(Tag tag) private static CompoundTagListTag.wrapElement(Tag tag) private static TagListTag.wrapIfNeeded(byte elementType, Tag tag) static voidNbtIo.writeAnyTag(Tag tag, DataOutput output) private static voidCompoundTag.writeNamedTag(String name, Tag tag, DataOutput output) static voidNbtIo.writeUnnamedTag(Tag tag, DataOutput output) static voidNbtIo.writeUnnamedTagWithFallback(Tag tag, DataOutput output) Method parameters in net.minecraft.nbt with type arguments of type TagModifier and TypeMethodDescriptiondefault NbtOps.ListCollectorNbtOps.createList(Stream<Tag> input) voidCompoundTag.forEach(BiConsumer<String, Tag> consumer) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToList(Tag list, List<Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, com.mojang.serialization.MapLike<Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, Map<Tag, Tag> values) com.mojang.serialization.DataResult<Tag> NbtOps.mergeToMap(Tag map, Map<Tag, Tag> values) <T> Optional<T> CompoundTag.read(com.mojang.serialization.MapCodec<T> codec, com.mojang.serialization.DynamicOps<Tag> ops) <T> Optional<T> CompoundTag.read(String name, com.mojang.serialization.Codec<T> codec, com.mojang.serialization.DynamicOps<Tag> ops) <T> voidCompoundTag.store(com.mojang.serialization.MapCodec<T> codec, com.mojang.serialization.DynamicOps<Tag> ops, T value) <T> voidCompoundTag.store(String name, com.mojang.serialization.Codec<T> codec, com.mojang.serialization.DynamicOps<Tag> ops, T value) <T> voidCompoundTag.storeNullable(String name, com.mojang.serialization.Codec<T> codec, com.mojang.serialization.DynamicOps<Tag> ops, @Nullable T value) 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()@Nullable TagCollectToTag.ContainerBuilder.build()CollectToTag.ListBuilder.build()@Nullable TagCollectToTag.RootBuilder.build()@Nullable TagCollectToTag.getResult()Methods in net.minecraft.nbt.visitors with parameters of type TagModifier and TypeMethodDescriptionvoidCollectToTag.CompoundBuilder.acceptValue(Tag tag) voidCollectToTag.ContainerBuilder.acceptValue(Tag tag) voidCollectToTag.ListBuilder.acceptValue(Tag tag) voidCollectToTag.RootBuilder.acceptValue(Tag tag) private voidCollectToTag.appendEntry(Tag instance) -
Uses of Tag in net.minecraft.network
Methods in net.minecraft.network that return TagModifier and TypeMethodDescriptionstatic @Nullable TagFriendlyByteBuf.readNbt(io.netty.buffer.ByteBuf input, NbtAccounter accounter) @Nullable TagFriendlyByteBuf.readNbt(NbtAccounter accounter) 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> ops, com.mojang.serialization.Codec<T> codec, NbtAccounter accounter) Deprecated.<T> TFriendlyByteBuf.readWithCodecTrusted(com.mojang.serialization.DynamicOps<Tag> ops, com.mojang.serialization.Codec<T> codec) Deprecated.<T> FriendlyByteBufFriendlyByteBuf.writeWithCodec(com.mojang.serialization.DynamicOps<Tag> ops, com.mojang.serialization.Codec<T> codec, T value) 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(Identifier id, Optional<Tag> payload) Creates an instance of aCustomrecord class. -
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> accounter) static StreamCodec<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.tagCodec(Supplier<NbtAccounter> accounter) -
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(Identifier id, Optional<Tag> payload) Creates an instance of aServerboundCustomClickActionPacketrecord class. -
Uses of Tag in net.minecraft.resources
Methods in net.minecraft.resources with parameters of type TagModifier and TypeMethodDescriptionstatic <T> com.mojang.datafixers.util.Either<T, Exception> RegistryLoadTask.PendingRegistration.loadFromNetwork(com.mojang.serialization.Decoder<T> elementDecoder, RegistryOps<Tag> ops, ResourceKey<T> elementKey, Tag contents) Method parameters in net.minecraft.resources with type arguments of type TagModifier and TypeMethodDescriptionstatic <T> com.mojang.datafixers.util.Either<T, Exception> RegistryLoadTask.PendingRegistration.loadFromNetwork(com.mojang.serialization.Decoder<T> elementDecoder, RegistryOps<Tag> ops, ResourceKey<T> elementKey, Tag contents) -
Uses of Tag in net.minecraft.server
Method parameters in net.minecraft.server with type arguments of type TagModifier and TypeMethodDescriptionvoidMinecraftServer.handleCustomClickAction(Identifier id, Optional<Tag> payload) -
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 source, DataAccessor accessor, NbtPathArgument.NbtPath path, IntFunction<Tag> constructor, boolean storeResult) -
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 path, DataAccessor accessor) Methods in net.minecraft.server.commands.data that return types with arguments of type TagModifier and TypeMethodDescriptionDataCommands.getSingletonSource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, DataCommands.DataProvider sourceProvider) DataCommands.resolveSourcePath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, DataCommands.DataProvider sourceProvider) DataCommands.stringifyTagList(List<Tag> source, DataCommands.StringProcessor stringProcessor) Methods in net.minecraft.server.commands.data with parameters of type TagModifier and TypeMethodDescriptionprivate static StringBlockDataAccessor.getPrintSuccess(Tag data) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)DataAccessor.getPrintSuccess(Tag data) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)EntityDataAccessor.getPrintSuccess(Tag data) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)StorageDataAccessor.getPrintSuccess(Tag data) 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> context, DataCommands.DataProvider targetProvider, DataCommands.DataManipulator manipulator, List<Tag> source) intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, CompoundTag targetData, NbtPathArgument.NbtPath targetPath, List<Tag> source) DataCommands.stringifyTagList(List<Tag> source, DataCommands.StringProcessor stringProcessor) -
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>>, Identifier> TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.CONFIGS_TO_KEYstatic final Map<com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<Tag>, com.mojang.serialization.Dynamic<Tag>>, Identifier> 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 normalTag) Method parameters in net.minecraft.util.datafix.fixes with type arguments of type Tag -
Uses of Tag in net.minecraft.util.filefix.access
Methods in net.minecraft.util.filefix.access that return types with arguments of type Tag -
Uses of Tag in net.minecraft.util.filefix.fixes
Method parameters in net.minecraft.util.filefix.fixes with type arguments of type TagModifier and TypeMethodDescriptionvoidLegacyStructureFileFix.LegacyStructureData.addStart(String id, com.mojang.serialization.Dynamic<Tag> data) private static voidLegacyStructureFileFix.extractAndStoreLegacyStructureData(com.mojang.serialization.Dynamic<Tag> levelData, List<LegacyStructureFileFix.DimensionFixEntry> dimensionFixEntries, UpgradeProgress upgradeProgress) private static voidLegacyStructureFileFix.extractLegacyStructureData(com.mojang.serialization.Dynamic<Tag> structureData, it.unimi.dsi.fastutil.longs.Long2ObjectMap<LegacyStructureFileFix.LegacyStructureData> extractedDataContainer) -
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> chunkTag, int defaultVersion) 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> codec, com.mojang.serialization.DynamicOps<Tag> ops, Tag tag, SimpleRegionStorage simpleRegionStorage, LevelHeightAccessor levelHeightAccessor) 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> codec, com.mojang.serialization.DynamicOps<Tag> ops, Tag tag, SimpleRegionStorage simpleRegionStorage, LevelHeightAccessor levelHeightAccessor) com.mojang.serialization.Dynamic<Tag> SimpleRegionStorage.upgradeChunkTag(com.mojang.serialization.Dynamic<Tag> chunkTag, int defaultVersion) -
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 context) -
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>
@Nullable TTagValueInput.getOptionalTypedTag(String name, TagType<T> expectedType) Methods in net.minecraft.world.level.storage that return TagModifier and TypeMethodDescriptionprivate static @Nullable TagLevelStorageSource.readLightweightData(Path dataFile) 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 TypeMethodDescriptionprivate voidTagValueInput.ListWrapper.reportIndexUnwrapProblem(int index, Tag value) private voidTagValueInput.TypedListWrapper.reportIndexUnwrapProblem(int index, Tag value, com.mojang.serialization.DataResult.Error<?> error) Method parameters in net.minecraft.world.level.storage with type arguments of type TagModifier and TypeMethodDescriptionprivate <T extends SavedData>
CompoundTagSavedDataStorage.encodeUnchecked(SavedDataType<T> type, SavedData data, RegistryOps<Tag> ops) 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 TagModifierConstructorDescriptionprivateListWrapper(String fieldName, ProblemReporter problemReporter, com.mojang.serialization.DynamicOps<Tag> ops, ListTag output) privateTagValueOutput(ProblemReporter problemReporter, com.mojang.serialization.DynamicOps<Tag> ops, CompoundTag output) privateTypedListWrapper(ProblemReporter problemReporter, String name, com.mojang.serialization.DynamicOps<Tag> ops, com.mojang.serialization.Codec<T> codec, ListTag output) ValueInputContextHelper(HolderLookup.Provider lookup, com.mojang.serialization.DynamicOps<Tag> ops) -
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 target, NbtPathArgument.NbtPath path, List<Tag> sources) 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
Classes in net.minecraft.world.level.storage.loot.providers.nbt that implement interfaces with type arguments of type TagModifier and TypeClassDescriptionprivate static final recordprivate static final recordFields in net.minecraft.world.level.storage.loot.providers.nbt with type parameters of type TagModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<LootContextArg<Tag>> ContextNbtProvider.GETTER_CODECprivate final LootContextArg<Tag> ContextNbtProvider.sourceMethods in net.minecraft.world.level.storage.loot.providers.nbt that return TagModifier and TypeMethodDescriptionContextNbtProvider.BlockEntitySource.get(BlockEntity blockEntity) @Nullable TagContextNbtProvider.get(LootContext context) @Nullable TagNbtProvider.get(LootContext context) StorageNbtProvider.get(LootContext context) Constructor parameters in net.minecraft.world.level.storage.loot.providers.nbt with type arguments of type Tag