Uses of Interface
net.minecraft.nbt.Tag
Package
Description
-
Uses of Tag in net.minecraft.advancements.critereon
-
Uses of Tag in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionNbtPathArgument.MatchElementNode.predicate
NbtPathArgument.MatchObjectNode.predicate
NbtPathArgument.MatchRootObjectNode.predicate
Modifier 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_) Modifier 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_) Modifier 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
Modifier 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
Modifier and TypeClassDescriptionclass
CollectionTag<T extends Tag>
interface
static interface
TagType.StaticSize<T extends Tag>
static interface
TagType.VariableSize<T extends Tag>
Modifier and TypeClassDescriptionclass
class
class
CollectionTag<T extends Tag>
class
class
class
class
class
class
class
class
class
class
class
class
Modifier 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_) Modifier 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_) Modifier 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_) Modifier 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_) ModifierConstructorDescriptionprotected
CompoundTag
(Map<String, Tag> p_128333_) HeterogenousListCollector
(Collection<Tag> p_249606_) (package private)
-
Uses of Tag in net.minecraft.nbt.visitors
-
Uses of Tag in net.minecraft.network
Modifier 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
Modifier and TypeFieldDescriptionprivate static final RegistryOps<Tag>
ClientboundLoginPacket.BUILTIN_CONTEXT_OPS
-
Uses of Tag in net.minecraft.server.commands
Modifier 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
Modifier and TypeMethodDescriptionprivate static Tag
DataCommands.getSingleTag
(NbtPathArgument.NbtPath p_139399_, DataAccessor p_139400_) Modifier 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_) Modifier and TypeMethodDescriptionprivate static String
BlockDataAccessor.getPrintSuccess
(Tag p_139309_) DataAccessor.getPrintSuccess
(Tag p_139324_) EntityDataAccessor.getPrintSuccess
(Tag p_139521_) StorageDataAccessor.getPrintSuccess
(Tag p_139558_) Modifier 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_) -
Uses of Tag in net.minecraft.world.entity
-
Uses of Tag in net.minecraft.world.entity.monster
-
Uses of Tag in net.minecraft.world.entity.npc
-
Uses of Tag in net.minecraft.world.item
-
Uses of Tag in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeMethodDescriptionPiecesContainer.save
(StructurePieceSerializationContext p_192750_) -
Uses of Tag in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionprivate static Tag
LevelStorageSource.readLightweightData
(Path p_230837_) Modifier 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
Modifier and TypeMethodDescriptionvoid
abstract void
CopyNbtFunction.MergeStrategy.merge
(Tag p_80351_, NbtPathArgument.NbtPath p_80352_, List<Tag> p_80353_) -
Uses of Tag in net.minecraft.world.level.storage.loot.providers.nbt
Modifier 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
-
Uses of Tag in net.minecraftforge.common.capabilities
-
Uses of Tag in net.minecraftforge.common.util
Modifier 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