Package net.minecraft.command.impl.data
Class BlockDataAccessor
java.lang.Object
net.minecraft.command.impl.data.BlockDataAccessor
- All Implemented Interfaces:
IDataAccessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TileEntityprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate final BlockPosstatic 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_NOT_A_BLOCK_ENTITY
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_A_BLOCK_ENTITY -
PROVIDER
-
entity
-
pos
-
-
Constructor Details
-
BlockDataAccessor
-
-
Method Details
-
setData
- Specified by:
setDatain interfaceIDataAccessor
-
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
-