MinecraftFunctions.java 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package me.km.snuviscript;
  2. import me.hammerle.snuviscript.code.ScriptManager;
  3. import me.km.databank.DataBank;
  4. import me.km.events.CustomEventCaller;
  5. import me.km.permissions.ModCommandManager;
  6. import me.km.permissions.Permissions;
  7. import me.km.playerbank.IPlayerBank;
  8. import me.km.plots.WorldPlotMap;
  9. import me.km.scheduler.SnuviScheduler;
  10. import net.minecraft.server.MinecraftServer;
  11. import me.km.snuviscript.commands.*;
  12. public class MinecraftFunctions {
  13. public static void registerFunctions(ScriptManager sm, Scripts scripts, Permissions perms, SnuviScheduler scheduler,
  14. MinecraftServer server, IPlayerBank playerBank, CustomEventCaller cec, IScriptBank scriptBank,
  15. DataBank dataBank, WorldPlotMap plots, ModCommandManager commands) {
  16. CommandCommands.registerFunctions(sm, scripts, perms, server, commands);
  17. PermissionCommands.registerFunctions(sm, perms);
  18. TableCommands.registerFunctions(sm);
  19. TitleCommands.registerFunctions(sm);
  20. PlayerCommands.registerFunctions(sm, scripts, perms, scheduler, server, playerBank);
  21. WorldCommands.registerFunctions(sm, server);
  22. ItemCommands.registerFunctions(sm);
  23. LocationCommands.registerFunctions(sm);
  24. BlockCommands.registerFunctions(sm);
  25. EventCommands.registerFunctions(sm, cec);
  26. DamageCommands.registerFunctions(sm);
  27. EntityCommands.registerFunctions(sm, scheduler);
  28. LivingCommands.registerFunctions(sm);
  29. HumanCommands.registerFunctions(sm);
  30. DeprecatedCommands.registerFunctions(sm, scripts, perms, scheduler, server, playerBank, cec, scriptBank, dataBank, plots, commands);
  31. DatabankCommands.registerFunctions(sm, scheduler, dataBank);
  32. PlotCommands.registerFunctions(sm, plots);
  33. ScriptCommands.registerFunctions(sm, scripts, server);
  34. ScoreboardCommands.registerFunctions(sm, scripts, perms, server);
  35. DisplayCommands.registerFunctions(sm, scripts, perms, server);
  36. StatusCommands.registerFunctions(sm, scripts, perms, server);
  37. ItemStackDisplayCommands.registerFunctions(sm, scripts, perms, server);
  38. HeadCommands.registerFunctions(sm, scripts, perms, server);
  39. ParticleCommands.registerFunctions(sm);
  40. SoundCommands.registerFunctions(sm);
  41. InventoryCommands.registerFunctions(sm);
  42. DataCommands.registerFunctions(sm, scheduler);
  43. ReadCommands.registerFunctions(sm, server);
  44. TextCommands.registerFunctions(sm);
  45. BanCommands.registerFunctions(sm, server);
  46. ShopCommands.registerFunctions(sm);
  47. ErrorCommands.registerFunctions(sm);
  48. EnchantmentCommands.registerFunctions(sm);
  49. ItemEntityCommands.registerFunctions(sm);
  50. LimitCommands.registerFunctions(sm, scripts);
  51. Commands.registerFunctions(sm, scripts, perms, scheduler, server, commands);
  52. }
  53. }