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
int
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
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 TypeMethodDescriptionprivate static <T extends Tag>
voidNbtOps.fillMany
(CollectionTag<T> p_129009_, Tag p_129010_, List<Tag> p_129011_) private static <T extends Tag>
voidNbtOps.fillOne
(CollectionTag<T> p_129013_, Tag p_129014_, Tag p_129015_) 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_) private Tag
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 <T extends Tag>
voidNbtOps.fillMany
(CollectionTag<T> p_129009_, Tag p_129010_, List<Tag> p_129011_) private static <T extends Tag>
voidNbtOps.fillOne
(CollectionTag<T> p_129013_, Tag p_129014_, Tag p_129015_) 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 void
CompoundTag.writeNamedTag
(String p_128369_, Tag p_128370_, DataOutput p_128371_) static void
NbtIo.writeUnnamedTag
(Tag p_128951_, DataOutput p_128952_) Modifier and TypeMethodDescriptionNbtOps.createList
(Stream<Tag> p_129052_) private static <T extends Tag>
voidNbtOps.fillMany
(CollectionTag<T> p_129009_, Tag p_129010_, List<Tag> p_129011_) 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_) -
Uses of Tag in net.minecraft.nbt.visitors
-
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 TypeMethodDescriptionBlockDataAccessor.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.insertAtIndex
(int p_139361_, CompoundTag p_139362_, NbtPathArgument.NbtPath p_139363_, List<Tag> p_139364_) private 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
(File p_202313_) Modifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDataTag
(com.mojang.serialization.DynamicOps<Tag> p_211748_, DataPackConfig p_211749_, com.mojang.serialization.Lifecycle p_211750_) (package private) static BiFunction<File,
com.mojang.datafixers.DataFixer, PrimaryLevelData> LevelStorageSource.getLevelData
(com.mojang.serialization.DynamicOps<Tag> p_211738_, DataPackConfig p_211739_, com.mojang.serialization.Lifecycle p_211740_) static PrimaryLevelData
PrimaryLevelData.parse
(com.mojang.serialization.Dynamic<Tag> p_78531_, com.mojang.datafixers.DataFixer p_78532_, int p_78533_, CompoundTag p_78534_, LevelSettings p_78535_, LevelVersion p_78536_, WorldGenSettings p_78537_, com.mojang.serialization.Lifecycle p_78538_) -
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.level.timers
ModifierConstructorDescriptionTimerQueue
(TimerCallbacks<T> p_82249_, Stream<com.mojang.serialization.Dynamic<Tag>> p_82250_) -
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