Class EntityDataAccessor
java.lang.Object
net.minecraft.server.commands.data.EntityDataAccessor
- All Implemented Interfaces:
DataAccessor
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Entity
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final Function
<String, DataCommands.DataProvider> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
getPrintSuccess
(NbtPathArgument.NbtPath p_139513_, double p_139514_, int p_139515_) getPrintSuccess
(Tag p_139521_) void
setData
(CompoundTag p_139519_)
-
Field Details
-
ERROR_NO_PLAYERS
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NO_PLAYERS -
PROVIDER
-
entity
-
-
Constructor Details
-
EntityDataAccessor
-
-
Method Details
-
setData
public void setData(CompoundTag p_139519_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
setData
in interfaceDataAccessor
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getData
- Specified by:
getData
in interfaceDataAccessor
-
getModifiedSuccess
- Specified by:
getModifiedSuccess
in interfaceDataAccessor
-
getPrintSuccess
- Specified by:
getPrintSuccess
in interfaceDataAccessor
-
getPrintSuccess
public Component getPrintSuccess(NbtPathArgument.NbtPath p_139513_, double p_139514_, int p_139515_) - Specified by:
getPrintSuccess
in interfaceDataAccessor
-