public interface ICommandSender
Modifier and Type | Method and Description |
---|---|
boolean |
canUseCommand(int permLevel,
java.lang.String commandName) |
default Entity |
getCommandSenderEntity() |
default ITextComponent |
getDisplayName() |
World |
getEntityWorld() |
java.lang.String |
getName() |
default BlockPos |
getPosition() |
default Vec3d |
getPositionVector() |
MinecraftServer |
getServer() |
default boolean |
sendCommandFeedback() |
default void |
sendMessage(ITextComponent component) |
default void |
setCommandStat(CommandResultStats.Type type,
int amount) |
java.lang.String getName()
default ITextComponent getDisplayName()
default void sendMessage(ITextComponent component)
boolean canUseCommand(int permLevel, java.lang.String commandName)
default BlockPos getPosition()
default Vec3d getPositionVector()
World getEntityWorld()
default Entity getCommandSenderEntity()
default boolean sendCommandFeedback()
default void setCommandStat(CommandResultStats.Type type, int amount)
MinecraftServer getServer()