public class MCCommandEvent
extends java.lang.Object
implements crafttweaker.api.event.CommandEvent
Constructor and Description |
---|
MCCommandEvent(net.minecraftforge.event.CommandEvent event) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.command.ICommand |
getCommand() |
crafttweaker.api.command.ICommandSender |
getCommandSender() |
java.lang.String[] |
getParameters() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
void |
setParameters(java.lang.String[] parameters) |
public MCCommandEvent(net.minecraftforge.event.CommandEvent event)
public crafttweaker.api.command.ICommandSender getCommandSender()
getCommandSender
in interface crafttweaker.api.event.CommandEvent
public crafttweaker.api.command.ICommand getCommand()
getCommand
in interface crafttweaker.api.event.CommandEvent
public java.lang.String[] getParameters()
getParameters
in interface crafttweaker.api.event.CommandEvent
public void setParameters(java.lang.String[] parameters)
setParameters
in interface crafttweaker.api.event.CommandEvent
public boolean isCanceled()
isCanceled
in interface crafttweaker.api.event.IEventCancelable
public void setCanceled(boolean canceled)
setCanceled
in interface crafttweaker.api.event.IEventCancelable