More CommandBlock API

This commit is contained in:
Jake Potrebic
2021-05-28 21:47:39 -07:00
parent c8e36cb205
commit b4f3eb5fa1
3 changed files with 59 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Represents a captured state of a command block.
*/
public interface CommandBlock extends TileState {
public interface CommandBlock extends TileState, io.papermc.paper.command.CommandBlockHolder { // Paper
/**
* Gets the command that this CommandBlock will run when powered.