001package net.minecraftforge.event; 002 003import net.minecraft.command.ICommand; 004import net.minecraft.command.ICommandSender; 005 006@Cancelable 007public class CommandEvent extends Event 008{ 009 010 public final ICommand command; 011 public final ICommandSender sender; 012 public String[] parameters; 013 public Throwable exception; 014 015 public CommandEvent(ICommand command, ICommandSender sender, String[] parameters) 016 { 017 this.command = command; 018 this.sender = sender; 019 this.parameters = parameters; 020 } 021}