Package net.minecraft.command.impl.data
Class EntityDataAccessor
java.lang.Object
net.minecraft.command.impl.data.EntityDataAccessor
- All Implemented Interfaces:
IDataAccessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Entityprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final Function<String,DataCommand.IDataProvider> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()getPrintSuccess(NBTPathArgument.NBTPath p_198922_1_, double p_198922_2_, int p_198922_4_) getPrintSuccess(INBT p_198924_1_) voidsetData(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:
setDatain interfaceIDataAccessor- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getData
- Specified by:
getDatain interfaceIDataAccessor
-
getModifiedSuccess
- Specified by:
getModifiedSuccessin interfaceIDataAccessor
-
getPrintSuccess
- Specified by:
getPrintSuccessin interfaceIDataAccessor
-
getPrintSuccess
public ITextComponent getPrintSuccess(NBTPathArgument.NBTPath p_198922_1_, double p_198922_2_, int p_198922_4_) - Specified by:
getPrintSuccessin interfaceIDataAccessor
-