Package net.minecraft.command.impl.data
Class BlockDataAccessor
java.lang.Object
net.minecraft.command.impl.data.BlockDataAccessor
- All Implemented Interfaces:
IDataAccessor
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TileEntity
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private final BlockPos
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_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:
setData
in interfaceIDataAccessor
-
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
-