Uses of Interface
net.minecraft.nbt.NbtElement
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of NbtElement in net.minecraft.command
Modifier and TypeMethodDescriptionBlockDataObject.feedbackQuery
(NbtElement element) DataCommandObject.feedbackQuery
(NbtElement element) EntityDataObject.feedbackQuery
(NbtElement element) StorageDataObject.feedbackQuery
(NbtElement element) -
Uses of NbtElement in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final Predicate<NbtElement>
NbtPathArgumentType.FilteredRootNode.matcher
private final Predicate<NbtElement>
NbtPathArgumentType.FilteredListElementNode.predicate
private final Predicate<NbtElement>
NbtPathArgumentType.FilteredNamedNode.predicate
Modifier and TypeMethodDescriptionstatic <S> NbtElement
NbtElementArgumentType.getNbtElement
(com.mojang.brigadier.context.CommandContext<S> context, String name) NbtPathArgumentType.AllListElementNode.init()
NbtPathArgumentType.FilteredListElementNode.init()
NbtPathArgumentType.FilteredNamedNode.init()
NbtPathArgumentType.FilteredRootNode.init()
NbtPathArgumentType.IndexedListElementNode.init()
NbtPathArgumentType.NamedNode.init()
NbtPathArgumentType.PathNode.init()
NbtElementArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) Modifier and TypeMethodDescriptionNbtPathArgumentType.NbtPath.get
(NbtElement element) default List<NbtElement>
NbtPathArgumentType.PathNode.get
(List<NbtElement> elements) NbtPathArgumentType.NbtPath.getOrInit
(NbtElement element, Supplier<NbtElement> source) default List<NbtElement>
NbtPathArgumentType.PathNode.getOrInit
(List<NbtElement> elements, Supplier<NbtElement> supplier) (package private) static Predicate<NbtElement>
NbtPathArgumentType.getPredicate
(NbtCompound filter) private List<NbtElement>
NbtPathArgumentType.NbtPath.getTerminals
(NbtElement start) default List<NbtElement>
NbtPathArgumentType.PathNode.process
(List<NbtElement> elements, BiConsumer<NbtElement, List<NbtElement>> action) Modifier and TypeMethodDescriptionint
NbtPathArgumentType.AllListElementNode.clear
(NbtElement current) int
NbtPathArgumentType.FilteredListElementNode.clear
(NbtElement current) int
NbtPathArgumentType.FilteredNamedNode.clear
(NbtElement current) int
NbtPathArgumentType.FilteredRootNode.clear
(NbtElement current) int
NbtPathArgumentType.IndexedListElementNode.clear
(NbtElement current) int
NbtPathArgumentType.NamedNode.clear
(NbtElement current) int
NbtPathArgumentType.PathNode.clear
(NbtElement current) int
NbtPathArgumentType.NbtPath.count
(NbtElement element) void
NbtPathArgumentType.AllListElementNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.FilteredListElementNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.FilteredNamedNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.FilteredRootNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.IndexedListElementNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.NamedNode.get
(NbtElement current, List<NbtElement> results) NbtPathArgumentType.NbtPath.get
(NbtElement element) void
NbtPathArgumentType.PathNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.AllListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredNamedNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredRootNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.IndexedListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.NamedNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) NbtPathArgumentType.NbtPath.getOrInit
(NbtElement element, Supplier<NbtElement> source) void
NbtPathArgumentType.PathNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) private List<NbtElement>
NbtPathArgumentType.NbtPath.getTerminals
(NbtElement start) int
NbtPathArgumentType.NbtPath.put
(NbtElement element, Supplier<NbtElement> source) int
NbtPathArgumentType.NbtPath.put
(NbtElement element, NbtElement source) int
NbtPathArgumentType.NbtPath.remove
(NbtElement element) int
NbtPathArgumentType.AllListElementNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.FilteredListElementNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.FilteredNamedNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.FilteredRootNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.IndexedListElementNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.NamedNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.PathNode.set
(NbtElement current, Supplier<NbtElement> source) Modifier and TypeMethodDescriptionprivate static int
NbtPathArgumentType.NbtPath.forEach
(List<NbtElement> elements, Function<NbtElement, Integer> operation) private static int
NbtPathArgumentType.NbtPath.forEach
(List<NbtElement> elements, Function<NbtElement, Integer> operation) void
NbtPathArgumentType.AllListElementNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.FilteredListElementNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.FilteredNamedNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.FilteredRootNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.IndexedListElementNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.NamedNode.get
(NbtElement current, List<NbtElement> results) default List<NbtElement>
NbtPathArgumentType.PathNode.get
(List<NbtElement> elements) void
NbtPathArgumentType.PathNode.get
(NbtElement current, List<NbtElement> results) void
NbtPathArgumentType.AllListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.AllListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredNamedNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredNamedNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredRootNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.FilteredRootNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.IndexedListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.IndexedListElementNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.NamedNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.NamedNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) NbtPathArgumentType.NbtPath.getOrInit
(NbtElement element, Supplier<NbtElement> source) default List<NbtElement>
NbtPathArgumentType.PathNode.getOrInit
(List<NbtElement> elements, Supplier<NbtElement> supplier) default List<NbtElement>
NbtPathArgumentType.PathNode.getOrInit
(List<NbtElement> elements, Supplier<NbtElement> supplier) void
NbtPathArgumentType.PathNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) void
NbtPathArgumentType.PathNode.getOrInit
(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results) default List<NbtElement>
NbtPathArgumentType.PathNode.process
(List<NbtElement> elements, BiConsumer<NbtElement, List<NbtElement>> action) default List<NbtElement>
NbtPathArgumentType.PathNode.process
(List<NbtElement> elements, BiConsumer<NbtElement, List<NbtElement>> action) default List<NbtElement>
NbtPathArgumentType.PathNode.process
(List<NbtElement> elements, BiConsumer<NbtElement, List<NbtElement>> action) int
NbtPathArgumentType.NbtPath.put
(NbtElement element, Supplier<NbtElement> source) int
NbtPathArgumentType.AllListElementNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.FilteredListElementNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.FilteredNamedNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.FilteredRootNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.IndexedListElementNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.NamedNode.set
(NbtElement current, Supplier<NbtElement> source) int
NbtPathArgumentType.PathNode.set
(NbtElement current, Supplier<NbtElement> source) -
Uses of NbtElement in net.minecraft.entity
Modifier and TypeMethodDescriptionEntityType.streamFromNbt
(List<? extends NbtElement> entityNbtList, World world) -
Uses of NbtElement in net.minecraft.entity.mob
-
Uses of NbtElement in net.minecraft.entity.passive
-
Uses of NbtElement in net.minecraft.item
Modifier and TypeMethodDescriptionvoid
ItemStack.setSubNbt
(String key, NbtElement element) Sets the given NBT element in the item stack's custom NBT at the specified key. -
Uses of NbtElement in net.minecraft.loot.function
Modifier and TypeMethodDescriptionvoid
CopyNbtLootFunction.Operation.execute
(Supplier<NbtElement> itemNbtGetter, NbtElement sourceEntityNbt) abstract void
CopyNbtLootFunction.Operator.merge
(NbtElement itemNbt, NbtPathArgumentType.NbtPath targetPath, List<NbtElement> sourceNbts) Modifier and TypeMethodDescriptionvoid
CopyNbtLootFunction.Operation.execute
(Supplier<NbtElement> itemNbtGetter, NbtElement sourceEntityNbt) abstract void
CopyNbtLootFunction.Operator.merge
(NbtElement itemNbt, NbtPathArgumentType.NbtPath targetPath, List<NbtElement> sourceNbts) -
Uses of NbtElement in net.minecraft.loot.provider.nbt
Modifier and TypeMethodDescriptionContextLootNbtProvider.getNbt
(LootContext context) ContextLootNbtProvider.Target.getNbt
(LootContext context) LootNbtProvider.getNbt
(LootContext context) StorageLootNbtProvider.getNbt
(LootContext context) -
Uses of NbtElement in net.minecraft.nbt
Modifier and TypeClassDescriptionclass
AbstractNbtList<T extends NbtElement>
Represents an abstraction of a mutable NBT list which holds elements of the same type.interface
NbtType<T extends NbtElement>
Represents an NBT type.static interface
NbtType.OfFixedSize<T extends NbtElement>
Represents an NBT type whose elements have a fixed size, such as primitives.static interface
NbtType.OfVariableSize<T extends NbtElement>
Represents an NBT type whose elements can have a variable size, such as lists.Modifier and TypeClassDescriptionclass
AbstractNbtList<T extends NbtElement>
Represents an abstraction of a mutable NBT list which holds elements of the same type.class
Represents an NBT number.class
Represents an NBT byte.class
Represents an NBT byte array.class
Represents an NBT compound object.class
Represents an NBT 64-bit floating-point number.class
Represents the NBT end value.class
Represents an NBT 32-bit floating-point number.class
Represents an NBT 32-bit integer.class
Represents an NBT 32-bit integer array.class
Represents a mutable NBT list.class
Represents an NBT 64-bit integer.class
Represents an NBT 64-bit integer array.class
Represents an NBT 16-bit integer.class
Represents an NBT string.Modifier and TypeFieldDescriptionprivate final Map<String,
NbtElement> NbtCompound.entries
private final List<NbtElement>
NbtList.value
Modifier and TypeMethodDescriptionprivate static <T extends NbtElement>
voidNbtOps.addAll
(AbstractNbtList<T> destination, NbtElement source, List<NbtElement> additionalValues) private static <T extends NbtElement>
voidNbtOps.addAll
(AbstractNbtList<T> destination, NbtElement source, NbtElement additionalValue) Modifier and TypeMethodDescriptionNbtByteArray.copy()
Returns an NBT element of equal value that won't change with this element.NbtElement.copy()
Returns an NBT element of equal value that won't change with this element.NbtOps.createBoolean
(boolean bool) NbtOps.createByte
(byte byte2) NbtOps.createByteList
(ByteBuffer byteBuffer) NbtOps.createDouble
(double double2) NbtOps.createFloat
(float float2) NbtOps.createInt
(int int2) NbtOps.createIntList
(IntStream intStream) NbtOps.createList
(Stream<NbtElement> stream) NbtOps.createLong
(long long2) NbtOps.createLongList
(LongStream longStream) NbtOps.createMap
(Stream<com.mojang.datafixers.util.Pair<NbtElement, NbtElement>> stream) NbtOps.createNumeric
(Number number) NbtOps.createShort
(short short2) NbtOps.createString
(String string) NbtOps.empty()
Returns the element associated with the key from this compound, ornull
if there is none.NbtList.get
(int int2) protected NbtElement
StringNbtReader.parseArray()
StringNbtReader.parseElement()
Returns the parsed NBT element.protected NbtElement
StringNbtReader.parseElementPrimitive()
private NbtElement
StringNbtReader.parseElementPrimitiveArray()
private NbtElement
StringNbtReader.parseList()
private NbtElement
StringNbtReader.parsePrimitive
(String input) NbtCompound.put
(String key, NbtElement element) Puts an element to this compound.(package private) static NbtElement
NbtCompound.read
(NbtType<?> reader, String key, DataInput input, int depth, NbtTagSizeTracker tracker) private static NbtElement
NbtIo.read
(DataInput input, int depth, NbtTagSizeTracker tracker) NbtList.remove
(int int2) NbtOps.remove
(NbtElement nbtElement, String string) NbtList.set
(int int2, NbtElement nbtElement) Modifier and TypeMethodDescriptionprotected com.mojang.serialization.DataResult<NbtElement>
NbtOps.MapBuilder.build
(NbtCompound nbtCompound, NbtElement nbtElement) com.mojang.serialization.DataResult<Consumer<Consumer<NbtElement>>>
NbtOps.getList
(NbtElement nbtElement) com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<NbtElement>>
NbtOps.getMap
(NbtElement nbtElement) com.mojang.serialization.DataResult<Consumer<BiConsumer<NbtElement,
NbtElement>>> NbtOps.getMapEntries
(NbtElement nbtElement) com.mojang.serialization.DataResult<Consumer<BiConsumer<NbtElement,
NbtElement>>> NbtOps.getMapEntries
(NbtElement nbtElement) com.mojang.serialization.DataResult<Stream<com.mojang.datafixers.util.Pair<NbtElement,
NbtElement>>> NbtOps.getMapValues
(NbtElement nbtElement) com.mojang.serialization.DataResult<Stream<com.mojang.datafixers.util.Pair<NbtElement,
NbtElement>>> NbtOps.getMapValues
(NbtElement nbtElement) com.mojang.serialization.DataResult<Stream<NbtElement>>
NbtOps.getStream
(NbtElement nbtElement) com.mojang.serialization.RecordBuilder<NbtElement>
NbtOps.mapBuilder()
com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToList
(NbtElement nbtElement, List<NbtElement> list) com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToList
(NbtElement nbtElement, NbtElement nbtElement2) com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToMap
(NbtElement nbtElement, com.mojang.serialization.MapLike<NbtElement> mapLike) com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToMap
(NbtElement nbtElement, NbtElement nbtElement2, NbtElement nbtElement3) protected Map<String,
NbtElement> NbtCompound.toMap()
Returns the compound as an unmodifiable map.Modifier and TypeMethodDescriptionvoid
NbtList.add
(int int2, NbtElement nbtElement) private static <T extends NbtElement>
voidNbtOps.addAll
(AbstractNbtList<T> destination, NbtElement source, List<NbtElement> additionalValues) private static <T extends NbtElement>
voidNbtOps.addAll
(AbstractNbtList<T> destination, NbtElement source, NbtElement additionalValue) abstract boolean
AbstractNbtList.addElement
(int index, NbtElement element) Insertselement
atindex
.boolean
NbtByteArray.addElement
(int index, NbtElement element) Insertselement
atindex
.boolean
NbtIntArray.addElement
(int index, NbtElement element) Insertselement
atindex
.boolean
NbtList.addElement
(int index, NbtElement element) Insertselement
atindex
.boolean
NbtLongArray.addElement
(int index, NbtElement element) Insertselement
atindex
.protected NbtCompound
NbtOps.MapBuilder.append
(String string, NbtElement nbtElement, NbtCompound nbtCompound) static StringBuilder
NbtHelper.appendFormattedString
(StringBuilder stringBuilder, NbtElement nbt, int depth, boolean withArrayContents) protected com.mojang.serialization.DataResult<NbtElement>
NbtOps.MapBuilder.build
(NbtCompound nbtCompound, NbtElement nbtElement) private boolean
NbtList.canAdd
(NbtElement element) <U> U
NbtOps.convertTo
(com.mojang.serialization.DynamicOps<U> dynamicOps, NbtElement nbtElement) com.mojang.serialization.DataResult<ByteBuffer>
NbtOps.getByteBuffer
(NbtElement nbtElement) com.mojang.serialization.DataResult<IntStream>
NbtOps.getIntStream
(NbtElement nbtElement) com.mojang.serialization.DataResult<Consumer<Consumer<NbtElement>>>
NbtOps.getList
(NbtElement nbtElement) com.mojang.serialization.DataResult<LongStream>
NbtOps.getLongStream
(NbtElement nbtElement) com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<NbtElement>>
NbtOps.getMap
(NbtElement nbtElement) com.mojang.serialization.DataResult<Consumer<BiConsumer<NbtElement,
NbtElement>>> NbtOps.getMapEntries
(NbtElement nbtElement) com.mojang.serialization.DataResult<Stream<com.mojang.datafixers.util.Pair<NbtElement,
NbtElement>>> NbtOps.getMapValues
(NbtElement nbtElement) com.mojang.serialization.DataResult<Number>
NbtOps.getNumberValue
(NbtElement nbtElement) com.mojang.serialization.DataResult<Stream<NbtElement>>
NbtOps.getStream
(NbtElement nbtElement) com.mojang.serialization.DataResult<String>
NbtOps.getStringValue
(NbtElement nbtElement) static boolean
NbtHelper.matches
(@Nullable NbtElement standard, @Nullable NbtElement subject, boolean ignoreListOrder) Returns whetherstandard
is a subset ofsubject
.com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToList
(NbtElement nbtElement, List<NbtElement> list) com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToList
(NbtElement nbtElement, NbtElement nbtElement2) com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToMap
(NbtElement nbtElement, com.mojang.serialization.MapLike<NbtElement> mapLike) com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToMap
(NbtElement nbtElement, NbtElement nbtElement2, NbtElement nbtElement3) NbtCompound.put
(String key, NbtElement element) Puts an element to this compound.NbtOps.remove
(NbtElement nbtElement, String string) NbtList.set
(int int2, NbtElement nbtElement) abstract boolean
AbstractNbtList.setElement
(int index, NbtElement element) Sets the element atindex
toelement
.boolean
NbtByteArray.setElement
(int index, NbtElement element) Sets the element atindex
toelement
.boolean
NbtIntArray.setElement
(int index, NbtElement element) Sets the element atindex
toelement
.boolean
NbtList.setElement
(int index, NbtElement element) Sets the element atindex
toelement
.boolean
NbtLongArray.setElement
(int index, NbtElement element) Sets the element atindex
toelement
.static String
NbtHelper.toFormattedString
(NbtElement nbt) Returns the human-readable, non-deserializable representation ofnbt
.static String
NbtHelper.toFormattedString
(NbtElement nbt, boolean withArrayContents) Returns the human-readable, non-deserializable representation ofnbt
.static Text
NbtHelper.toPrettyPrintedText
(NbtElement element) Returns the pretty-printed text representation ofelement
.static UUID
NbtHelper.toUuid
(NbtElement element) Deserializes an NBT element into aUUID
.private static void
NbtCompound.write
(String key, NbtElement element, DataOutput output) static void
NbtIo.write
(NbtElement nbt, DataOutput output) Modifier and TypeMethodDescriptionprivate static <T extends NbtElement>
voidNbtOps.addAll
(AbstractNbtList<T> destination, NbtElement source, List<NbtElement> additionalValues) NbtOps.createList
(Stream<NbtElement> stream) NbtOps.createMap
(Stream<com.mojang.datafixers.util.Pair<NbtElement, NbtElement>> stream) NbtOps.createMap
(Stream<com.mojang.datafixers.util.Pair<NbtElement, NbtElement>> stream) com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToList
(NbtElement nbtElement, List<NbtElement> list) com.mojang.serialization.DataResult<NbtElement>
NbtOps.mergeToMap
(NbtElement nbtElement, com.mojang.serialization.MapLike<NbtElement> mapLike) ModifierConstructorDescriptionprotected
NbtCompound
(Map<String, NbtElement> entries) (package private)
NbtList
(List<NbtElement> list, byte type) -
Uses of NbtElement in net.minecraft.nbt.scanner
-
Uses of NbtElement in net.minecraft.nbt.visitor
Modifier and TypeMethodDescriptionNbtOrderedStringFormatter.apply
(NbtElement element) Returns the stringified NBTelement
.NbtTextFormatter.apply
(NbtElement element) Returns the textified NBTelement
.StringNbtWriter.apply
(NbtElement element) Returns the stringified NBTelement
. -
Uses of NbtElement in net.minecraft.predicate
-
Uses of NbtElement in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static NbtElement
DataCommand.getNbt
(NbtPathArgumentType.NbtPath path, DataCommandObject object) Modifier and TypeMethodDescriptionprivate static int
DataCommand.executeInsert
(int integer, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements) private static int
DataCommand.executeModify
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType, DataCommand.ModifyOperation modifier, List<NbtElement> elements) private static ServerCommandSource
ExecuteCommand.executeStoreData
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult) int
DataCommand.ModifyOperation.modify
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements) -
Uses of NbtElement in net.minecraft.structure
-
Uses of NbtElement in net.minecraft.world.level
Modifier and TypeMethodDescriptionstatic LevelProperties
LevelProperties.readProperties
(com.mojang.serialization.Dynamic<NbtElement> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) -
Uses of NbtElement in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionprivate static @Nullable NbtElement
LevelStorage.loadCompactLevelData
(Path path) Returns the compact version of the NBT for the level datafile
.Modifier and TypeMethodDescription(package private) static BiFunction<Path,
com.mojang.datafixers.DataFixer, LevelProperties> LevelStorage.createLevelDataParser
(com.mojang.serialization.DynamicOps<NbtElement> ops, DataPackSettings dataPackSettings, com.mojang.serialization.Lifecycle lifecycle) LevelStorage.Session.readLevelProperties
(com.mojang.serialization.DynamicOps<NbtElement> ops, DataPackSettings dataPackSettings, com.mojang.serialization.Lifecycle lifecycle) -
Uses of NbtElement in net.minecraft.world.tick
Modifier and TypeMethodDescription -
Uses of NbtElement in net.minecraft.world.timer
ModifierConstructorDescriptionTimer
(TimerCallbackSerializer<T> timerCallbackSerializer, Stream<com.mojang.serialization.Dynamic<NbtElement>> stream)