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.CommandEventpublic crafttweaker.api.command.ICommand getCommand()
getCommand in interface crafttweaker.api.event.CommandEventpublic java.lang.String[] getParameters()
getParameters in interface crafttweaker.api.event.CommandEventpublic void setParameters(java.lang.String[] parameters)
setParameters in interface crafttweaker.api.event.CommandEventpublic boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelable