Class BlockDataAccessor
java.lang.Object
net.minecraft.server.commands.data.BlockDataAccessor
- All Implemented Interfaces:
DataAccessor
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockEntity
(package private) static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private final BlockPos
static final Function<String,
DataCommands.DataProvider> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
getPrintSuccess
(NbtPathArgument.NbtPath p_139301_, double p_139302_, int p_139303_) getPrintSuccess
(Tag p_139309_) void
setData
(CompoundTag p_139307_)
-
Field Details
-
ERROR_NOT_A_BLOCK_ENTITY
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 interfaceDataAccessor
-
getData
- Specified by:
getData
in interfaceDataAccessor
-
getModifiedSuccess
- Specified by:
getModifiedSuccess
in interfaceDataAccessor
-
getPrintSuccess
- Specified by:
getPrintSuccess
in interfaceDataAccessor
-
getPrintSuccess
public Component getPrintSuccess(NbtPathArgument.NbtPath p_139301_, double p_139302_, int p_139303_) - Specified by:
getPrintSuccess
in interfaceDataAccessor
-