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

@@ -4,7 +4,7 @@ import org.bukkit.entity.Minecart;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface CommandMinecart extends Minecart {
public interface CommandMinecart extends Minecart, io.papermc.paper.command.CommandBlockHolder { // Paper
/**
* Gets the command that this CommandMinecart will run when activated.