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.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type TagModifier and TypeFieldDescriptionNbtPathArgument.MatchElementNode.predicate
NbtPathArgument.MatchObjectNode.predicate
NbtPathArgument.MatchRootObjectNode.predicate
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_) NbtTagArgument.parse
(com.mojang.brigadier.StringReader p_100661_) Methods in net.minecraft.commands.arguments that return types with arguments of type TagModifier and TypeMethodDescriptionNbtPathArgument.createTagPredicate
(CompoundTag p_99511_) NbtPathArgument.NbtPath.getOrCreate
(Tag p_99641_, Supplier<Tag> p_99642_) NbtPathArgument.Node.getOrCreate
(List<Tag> p_99659_, Supplier<Tag> p_99660_) NbtPathArgument.NbtPath.getOrCreateParents
(Tag p_99651_) Methods in net.minecraft.commands.arguments with parameters of type TagModifier and TypeMethodDescriptionint
NbtPathArgument.NbtPath.countMatching
(Tag p_99644_) NbtPathArgument.NbtPath.getOrCreate
(Tag p_99641_, Supplier<Tag> p_99642_) NbtPathArgument.NbtPath.getOrCreateParents
(Tag p_99651_) void
NbtPathArgument.AllElementsNode.getOrCreateTag
(Tag p_99528_, Supplier<Tag> p_99529_, List<Tag> p_99530_) void
NbtPathArgument.CompoundChildNode.getOrCreateTag
(Tag p_99544_, Supplier<Tag> p_99545_, List<Tag> p_99546_) void
NbtPathArgument.IndexedElementNode.getOrCreateTag
(Tag p_99560_, Supplier<Tag> p_99561_, List<Tag> p_99562_) void
NbtPathArgument.MatchElementNode.getOrCreateTag
(Tag p_99581_, Supplier<Tag> p_99582_, List<Tag> p_99583_) void
NbtPathArgument.MatchObjectNode.getOrCreateTag
(Tag p_99600_, Supplier<Tag> p_99601_, List<Tag> p_99602_) void
NbtPathArgument.MatchRootObjectNode.getOrCreateTag
(Tag p_99616_, Supplier<Tag> p_99617_, List<Tag> p_99618_) 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 p_99641_, Supplier<Tag> p_99642_) NbtPathArgument.Node.getOrCreate
(List<Tag> p_99659_, Supplier<Tag> p_99660_) NbtPathArgument.Node.getOrCreate
(List<Tag> p_99659_, Supplier<Tag> p_99660_) void
NbtPathArgument.AllElementsNode.getOrCreateTag
(Tag p_99528_, Supplier<Tag> p_99529_, List<Tag> p_99530_) void
NbtPathArgument.AllElementsNode.getOrCreateTag
(Tag p_99528_, Supplier<Tag> p_99529_, List<Tag> p_99530_) void
NbtPathArgument.CompoundChildNode.getOrCreateTag
(Tag p_99544_, Supplier<Tag> p_99545_, List<Tag> p_99546_) void
NbtPathArgument.CompoundChildNode.getOrCreateTag
(Tag p_99544_, Supplier<Tag> p_99545_, List<Tag> p_99546_) void
NbtPathArgument.IndexedElementNode.getOrCreateTag
(Tag p_99560_, Supplier<Tag> p_99561_, List<Tag> p_99562_) void
NbtPathArgument.IndexedElementNode.getOrCreateTag
(Tag p_99560_, Supplier<Tag> p_99561_, List<Tag> p_99562_) void
NbtPathArgument.MatchElementNode.getOrCreateTag
(Tag p_99581_, Supplier<Tag> p_99582_, List<Tag> p_99583_) void
NbtPathArgument.MatchElementNode.getOrCreateTag
(Tag p_99581_, Supplier<Tag> p_99582_, List<Tag> p_99583_) void
NbtPathArgument.MatchObjectNode.getOrCreateTag
(Tag p_99600_, Supplier<Tag> p_99601_, List<Tag> p_99602_) void
NbtPathArgument.MatchObjectNode.getOrCreateTag
(Tag p_99600_, Supplier<Tag> p_99601_, List<Tag> p_99602_) void
NbtPathArgument.MatchRootObjectNode.getOrCreateTag
(Tag p_99616_, Supplier<Tag> p_99617_, List<Tag> p_99618_) void
NbtPathArgument.MatchRootObjectNode.getOrCreateTag
(Tag p_99616_, Supplier<Tag> p_99617_, List<Tag> p_99618_) void
void
void
void
void
void
void
void
void
int
NbtPathArgument.NbtPath.insert
(int p_263397_, CompoundTag p_263348_, List<Tag> p_263419_) int
int
int
int
int
int
int
-
Uses of Tag in net.minecraft.nbt
Classes in net.minecraft.nbt with type parameters of type TagModifier and TypeClassDescriptionclass
CollectionTag<T extends Tag>
interface
static interface
TagType.StaticSize<T extends Tag>
static interface
TagType.VariableSize<T extends Tag>
Classes in net.minecraft.nbt that implement TagModifier and TypeClassDescriptionclass
class
class
CollectionTag<T extends Tag>
class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.nbt with type parameters of type TagMethods in net.minecraft.nbt that return TagModifier and TypeMethodDescriptionByteArrayTag.copy()
Tag.copy()
NbtOps.createBoolean
(boolean p_129050_) NbtOps.createByte
(byte p_128963_) NbtOps.createByteList
(ByteBuffer p_128990_) NbtOps.createDouble
(double p_128972_) NbtOps.createFloat
(float p_128974_) NbtOps.createInt
(int p_128976_) NbtOps.createIntList
(IntStream p_129000_) NbtOps.createList
(Stream<Tag> p_129052_) NbtOps.createLong
(long p_128978_) NbtOps.createLongList
(LongStream p_129002_) NbtOps.createNumeric
(Number p_128983_) NbtOps.createShort
(short p_129048_) NbtOps.createString
(String p_128985_) NbtOps.empty()
ListTag.get
(int p_128781_) private Tag
TagParser.readArrayTag()
protected Tag
TagParser.readList()
private Tag
TagParser.readListTag()
(package private) static Tag
CompoundTag.readNamedTagData
(TagType<?> p_128414_, String p_128415_, DataInput p_128416_, int p_128417_, NbtAccounter p_128418_) protected Tag
TagParser.readTypedValue()
private static Tag
NbtIo.readUnnamedTag
(DataInput p_128931_, int p_128932_, NbtAccounter p_128933_) TagParser.readValue()
ListTag.remove
(int p_128751_) NbtOps.ByteListCollector.result()
NbtOps.HeterogenousListCollector.result()
NbtOps.HomogenousListCollector.result()
NbtOps.InitialListCollector.result()
NbtOps.IntListCollector.result()
NbtOps.ListCollector.result()
NbtOps.LongListCollector.result()
private static Tag
NbtOps.tryUnwrap
(CompoundTag p_251041_) private Tag
private static Tag
NbtOps.HeterogenousListCollector.wrapIfNeeded
(Tag p_252042_) 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.entries()
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_) 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_129044_, Tag p_129045_, Tag p_129046_) Methods in net.minecraft.nbt with parameters of type TagModifier and TypeMethodDescriptionvoid
boolean
abstract boolean
boolean
boolean
boolean
protected CompoundTag
NbtOps.NbtRecordBuilder.append
(String p_129186_, Tag p_129187_, CompoundTag p_129188_) protected com.mojang.serialization.DataResult<Tag>
NbtOps.NbtRecordBuilder.build
(CompoundTag p_129190_, Tag p_129191_) static boolean
NbtUtils.compareNbt
(Tag p_129236_, Tag p_129237_, boolean p_129238_) <U> U
private static Optional<NbtOps.ListCollector>
NbtOps.createCollector
(Tag p_249503_) 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_) static UUID
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_129044_, Tag p_129045_, Tag p_129046_) static StringBuilder
NbtUtils.prettyPrint
(StringBuilder p_178027_, Tag p_178028_, int p_178029_, boolean p_178030_) static String
NbtUtils.prettyPrint
(Tag p_178058_) static String
NbtUtils.prettyPrint
(Tag p_178051_, boolean p_178052_) boolean
abstract boolean
boolean
boolean
boolean
static Component
NbtUtils.toPrettyComponent
(Tag p_178062_) private boolean
ListTag.updateType
(Tag p_128739_) private static CompoundTag
NbtOps.HeterogenousListCollector.wrapElement
(Tag p_251263_) private static Tag
NbtOps.HeterogenousListCollector.wrapIfNeeded
(Tag p_252042_) private static void
CompoundTag.writeNamedTag
(String p_128369_, Tag p_128370_, DataOutput p_128371_) static void
NbtIo.writeUnnamedTag
(Tag p_128951_, DataOutput p_128952_) Method parameters in net.minecraft.nbt with type arguments of type TagModifier and TypeMethodDescriptiondefault NbtOps.ListCollector
default NbtOps.ListCollector
NbtOps.createList
(Stream<Tag> p_129052_) 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_) Constructors in net.minecraft.nbt with parameters of type TagConstructor parameters in net.minecraft.nbt with type arguments of type TagModifierConstructorDescriptionprotected
CompoundTag
(Map<String, Tag> p_128333_) HeterogenousListCollector
(Collection<Tag> p_249606_) (package private)
-
Uses of Tag in net.minecraft.nbt.visitors
Fields in net.minecraft.nbt.visitors declared as TagFields in net.minecraft.nbt.visitors with type parameters of type TagMethods in net.minecraft.nbt.visitors that return TagMethods in net.minecraft.nbt.visitors with parameters of type Tag -
Uses of Tag in net.minecraft.network
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_) Deprecated.<T> void
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.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type TagModifier and TypeFieldDescriptionprivate static final RegistryOps<Tag>
ClientboundLoginPacket.BUILTIN_CONTEXT_OPS
-
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 p_137118_, DataAccessor p_137119_, NbtPathArgument.NbtPath p_137120_, IntFunction<Tag> p_137121_, boolean p_137122_) -
Uses of Tag in net.minecraft.server.commands.data
Methods in net.minecraft.server.commands.data that return TagModifier and TypeMethodDescriptionprivate static Tag
DataCommands.getSingleTag
(NbtPathArgument.NbtPath p_139399_, DataAccessor p_139400_) 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> p_288980_, DataCommands.StringProcessor p_289012_) Methods in net.minecraft.server.commands.data with parameters of type TagModifier and TypeMethodDescriptionprivate static String
BlockDataAccessor.getPrintSuccess
(Tag p_139309_) DataAccessor.getPrintSuccess
(Tag p_139324_) EntityDataAccessor.getPrintSuccess
(Tag p_139521_) StorageDataAccessor.getPrintSuccess
(Tag p_139558_) 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> p_288980_, DataCommands.StringProcessor p_289012_) -
Uses of Tag in net.minecraft.world.entity
Method parameters in net.minecraft.world.entity with type arguments of type Tag -
Uses of Tag in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as TagMethods in net.minecraft.world.entity.monster with parameters of type Tag -
Uses of Tag in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type Tag -
Uses of Tag in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type Tag -
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 p_192750_) -
Uses of Tag in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return TagModifier and TypeMethodDescriptionprivate static Tag
LevelStorageSource.readLightweightData
(Path p_230837_) Method parameters in net.minecraft.world.level.storage with type arguments of type TagModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<WorldData,
WorldDimensions.Complete> LevelStorageSource.LevelStorageAccess.getDataTag
(com.mojang.serialization.DynamicOps<Tag> p_248747_, WorldDataConfiguration p_251873_, Registry<LevelStem> p_249187_, com.mojang.serialization.Lifecycle p_249736_) (package private) static BiFunction<Path,
com.mojang.datafixers.DataFixer, com.mojang.datafixers.util.Pair<WorldData, WorldDimensions.Complete>> LevelStorageSource.getLevelData
(com.mojang.serialization.DynamicOps<Tag> p_250592_, WorldDataConfiguration p_249054_, Registry<LevelStem> p_249363_, com.mojang.serialization.Lifecycle p_251214_) -
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
CopyNbtFunction.MergeStrategy.merge
(Tag p_80351_, NbtPathArgument.NbtPath p_80352_, List<Tag> p_80353_) 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 p_165573_) ContextNbtProvider.Getter.get
(LootContext p_165591_) NbtProvider.get
(LootContext p_165622_) StorageNbtProvider.get
(LootContext p_165636_) -
Uses of Tag in net.minecraft.world.ticks
Methods in net.minecraft.world.ticks that return Tag -
Uses of Tag in net.minecraftforge.common.capabilities
Classes in net.minecraftforge.common.capabilities with type parameters of type Tag -
Uses of Tag in net.minecraftforge.common.util
Classes in net.minecraftforge.common.util with type parameters of type TagModifier and TypeInterfaceDescriptioninterface
INBTSerializable<T extends Tag>
An interface designed to unify various things in the Minecraft code base that can be serialized to and from a NBT tag. -
Uses of Tag in net.minecraftforge.energy
Methods in net.minecraftforge.energy that return TagMethods in net.minecraftforge.energy with parameters of type Tag