Class EntityDataAccessor
java.lang.Object
net.minecraft.server.commands.data.EntityDataAccessor
- All Implemented Interfaces:
DataAccessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Entityprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic Function<String,DataCommands.DataProvider> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()getPrintSuccess(NbtPathArgument.NbtPath p_139513_, double p_139514_, int p_139515_)getPrintSuccess(Tag p_139521_)voidsetData(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:
setDatain interfaceDataAccessor- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getData
- Specified by:
getDatain interfaceDataAccessor
-
getModifiedSuccess
- Specified by:
getModifiedSuccessin interfaceDataAccessor
-
getPrintSuccess
- Specified by:
getPrintSuccessin interfaceDataAccessor
-
getPrintSuccess
public Component getPrintSuccess(NbtPathArgument.NbtPath p_139513_, double p_139514_, int p_139515_)- Specified by:
getPrintSuccessin interfaceDataAccessor
-