DataAccessor .java

net.minecraft.server.commands.data.DataAccessor (interface): members: getModifiedSuccess, getPrintSuccess, setData, getData. imports: NbtPathArgument, Tag.

net.minecraft.server.commands.datainterface20 linesserver587 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (4)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

DataAccessor.java20 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.server.commands.data;
2
3
import com.mojang.brigadier.exceptions.CommandSyntaxException;
4
import net.minecraft.commands.arguments.NbtPathArgument;
5
import net.minecraft.nbt.CompoundTag;
6
import net.minecraft.nbt.Tag;
7
import net.minecraft.network.chat.Component;
8
9
public interface DataAccessor {
10
	void setData(CompoundTag tag) throws CommandSyntaxException;
11
12
	CompoundTag getData() throws CommandSyntaxException;
13
14
	Component getModifiedSuccess();
15
16
	Component getPrintSuccess(Tag data);
17
18
	Component getPrintSuccess(NbtPathArgument.NbtPath path, double scale, int value);
19
}
20

Decompiled Minecraft 26.3 source of DataAccessor (net/minecraft/server/commands/data/DataAccessor.java) with Mojang official mappings, stored verbatim on the site.