Search in sources :

Example 1 with ThrowCommands

use of org.cubeengine.module.fun.commands.ThrowCommands in project modules-extra by CubeEngine.

the class Fun method onEnable.

@Listener
public void onEnable(GamePreInitializationEvent event) {
    cm.addCommands(this, new ThrowCommands(this, em, pm, tm, entityMatcher, i18n));
    cm.addCommands(this, new NukeCommand(this, i18n, em));
    cm.addCommands(this, new PlayerCommands(this, i18n, materialMatcher));
    cm.addCommands(this, new DiscoCommand(this, i18n, tm));
    cm.addCommands(this, new InvasionCommand(this, i18n, entityMatcher));
    cm.addCommands(this, new RocketCommand(this, em, tm));
}
Also used : DiscoCommand(org.cubeengine.module.fun.commands.DiscoCommand) NukeCommand(org.cubeengine.module.fun.commands.NukeCommand) ThrowCommands(org.cubeengine.module.fun.commands.ThrowCommands) PlayerCommands(org.cubeengine.module.fun.commands.PlayerCommands) InvasionCommand(org.cubeengine.module.fun.commands.InvasionCommand) RocketCommand(org.cubeengine.module.fun.commands.RocketCommand) Listener(org.spongepowered.api.event.Listener)

Aggregations

DiscoCommand (org.cubeengine.module.fun.commands.DiscoCommand)1 InvasionCommand (org.cubeengine.module.fun.commands.InvasionCommand)1 NukeCommand (org.cubeengine.module.fun.commands.NukeCommand)1 PlayerCommands (org.cubeengine.module.fun.commands.PlayerCommands)1 RocketCommand (org.cubeengine.module.fun.commands.RocketCommand)1 ThrowCommands (org.cubeengine.module.fun.commands.ThrowCommands)1 Listener (org.spongepowered.api.event.Listener)1