mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
netty strategy. Updated FML: MinecraftForge/FML@3b2994a3de Some patching touchups MinecraftForge/FML@557357fe17 Update for log4j2 MinecraftForge/FML@a2b324beb2 Copy eventhandler from Forge into FML. It is going to replace a lot of the runtime event systems. MinecraftForge/FML@4071ff38af Patch some GUIs. We're gonna add some basic mod gui config support. MinecraftForge/FML@0b419ac79c Fire a user event down the channels when a handshake has occured.
24 lines
614 B
Java
24 lines
614 B
Java
package net.minecraftforge.event;
|
|
|
|
import cpw.mods.fml.common.eventhandler.Cancelable;
|
|
import cpw.mods.fml.common.eventhandler.Event;
|
|
import net.minecraft.command.ICommand;
|
|
import net.minecraft.command.ICommandSender;
|
|
|
|
@Cancelable
|
|
public class CommandEvent extends Event
|
|
{
|
|
|
|
public final ICommand command;
|
|
public final ICommandSender sender;
|
|
public String[] parameters;
|
|
public Throwable exception;
|
|
|
|
public CommandEvent(ICommand command, ICommandSender sender, String[] parameters)
|
|
{
|
|
this.command = command;
|
|
this.sender = sender;
|
|
this.parameters = parameters;
|
|
}
|
|
}
|