Package net.minecraft.command.impl.data
Class EntityDataAccessor
java.lang.Object
net.minecraft.command.impl.data.EntityDataAccessor
- All Implemented Interfaces:
IDataAccessor
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Entity
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final Function<String,
DataCommand.IDataProvider> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
getPrintSuccess
(NBTPathArgument.NBTPath p_198922_1_, double p_198922_2_, int p_198922_4_) getPrintSuccess
(INBT p_198924_1_) void
setData
(CompoundNBT p_198925_1_)
-
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(CompoundNBT p_198925_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
setData
in interfaceIDataAccessor
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getData
- Specified by:
getData
in interfaceIDataAccessor
-
getModifiedSuccess
- Specified by:
getModifiedSuccess
in interfaceIDataAccessor
-
getPrintSuccess
- Specified by:
getPrintSuccess
in interfaceIDataAccessor
-
getPrintSuccess
public ITextComponent getPrintSuccess(NBTPathArgument.NBTPath p_198922_1_, double p_198922_2_, int p_198922_4_) - Specified by:
getPrintSuccess
in interfaceIDataAccessor
-