MinecraftFunctions.java 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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,
  14. SnuviScheduler scheduler, MinecraftServer server, IPlayerBank playerBank,
  15. CustomEventCaller cec, IScriptBank scriptBank, DataBank dataBank, WorldPlotMap plots,
  16. ModCommandManager commands) {
  17. CommandCommands.registerFunctions(sm, scripts, perms, server, commands);
  18. PermissionCommands.registerFunctions(sm, perms);
  19. TableCommands.registerFunctions(sm);
  20. TitleCommands.registerFunctions(sm);
  21. PlayerCommands.registerFunctions(sm, scripts, perms, scheduler, server, playerBank);
  22. WorldCommands.registerFunctions(sm, server);
  23. GameRuleCommands.registerFunctions(sm, server);
  24. ItemCommands.registerFunctions(sm);
  25. LocationCommands.registerFunctions(sm);
  26. BlockCommands.registerFunctions(sm);
  27. EventCommands.registerFunctions(sm, cec);
  28. DamageCommands.registerFunctions(sm);
  29. EntityCommands.registerFunctions(sm, scheduler);
  30. LivingCommands.registerFunctions(sm);
  31. HumanCommands.registerFunctions(sm);
  32. DeprecatedCommands.registerFunctions(sm, scripts, perms, scheduler, server, playerBank, cec,
  33. scriptBank, dataBank, plots, commands);
  34. DatabankCommands.registerFunctions(sm, scheduler, dataBank);
  35. PlotCommands.registerFunctions(sm, plots);
  36. ScriptCommands.registerFunctions(sm, scripts, server);
  37. ScoreboardCommands.registerFunctions(sm, scripts, perms, server);
  38. DisplayCommands.registerFunctions(sm, scripts, perms, server);
  39. StatusCommands.registerFunctions(sm, scripts, perms, server);
  40. ItemStackDisplayCommands.registerFunctions(sm, scripts, perms, server);
  41. HeadCommands.registerFunctions(sm, scripts, perms, server);
  42. ParticleCommands.registerFunctions(sm);
  43. SoundCommands.registerFunctions(sm);
  44. InventoryCommands.registerFunctions(sm);
  45. DataCommands.registerFunctions(sm, scheduler);
  46. ReadCommands.registerFunctions(sm, server);
  47. TextCommands.registerFunctions(sm);
  48. BanCommands.registerFunctions(sm, server);
  49. ShopCommands.registerFunctions(sm);
  50. ErrorCommands.registerFunctions(sm);
  51. EnchantmentCommands.registerFunctions(sm);
  52. ItemEntityCommands.registerFunctions(sm);
  53. LimitCommands.registerFunctions(sm, scripts);
  54. BossBarCommands.registerFunctions(sm, scripts, perms, server);
  55. Commands.registerFunctions(sm, scripts, perms, scheduler, server, commands);
  56. }
  57. }