1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-21 12:15:50 +00:00
Slimefun4/src/main/java/me/mrCookieSlime/Slimefun/SlimefunPlugin.java

149 lines
6.2 KiB
Java
Raw Normal View History

2016-04-14 16:24:03 +00:00
package me.mrCookieSlime.Slimefun;
import java.util.Set;
2017-06-22 14:43:49 +00:00
import org.bukkit.plugin.Plugin;
2017-06-22 14:43:49 +00:00
import io.github.thebusybiscuit.cscorelib2.config.Config;
2019-09-01 16:53:02 +00:00
import io.github.thebusybiscuit.cscorelib2.protection.ProtectionManager;
import io.github.thebusybiscuit.slimefun4.api.MinecraftVersion;
import io.github.thebusybiscuit.slimefun4.api.gps.GPSNetwork;
import io.github.thebusybiscuit.slimefun4.core.SlimefunRegistry;
import io.github.thebusybiscuit.slimefun4.core.commands.SlimefunCommand;
2020-05-07 16:00:44 +00:00
import io.github.thebusybiscuit.slimefun4.core.networks.NetworkManager;
import io.github.thebusybiscuit.slimefun4.core.services.BlockDataService;
import io.github.thebusybiscuit.slimefun4.core.services.CustomItemDataService;
import io.github.thebusybiscuit.slimefun4.core.services.CustomTextureService;
import io.github.thebusybiscuit.slimefun4.core.services.LocalizationService;
2020-03-18 13:20:49 +00:00
import io.github.thebusybiscuit.slimefun4.core.services.MinecraftRecipeService;
import io.github.thebusybiscuit.slimefun4.core.services.PerWorldSettingsService;
2020-03-10 20:44:24 +00:00
import io.github.thebusybiscuit.slimefun4.core.services.PermissionsService;
import io.github.thebusybiscuit.slimefun4.core.services.UpdaterService;
import io.github.thebusybiscuit.slimefun4.core.services.github.GitHubService;
2020-03-12 02:32:04 +00:00
import io.github.thebusybiscuit.slimefun4.core.services.plugins.ThirdPartyPluginService;
2020-01-12 10:05:35 +00:00
import io.github.thebusybiscuit.slimefun4.implementation.listeners.AncientAltarListener;
2019-12-29 13:14:51 +00:00
import io.github.thebusybiscuit.slimefun4.implementation.listeners.BackpackListener;
2019-12-29 17:30:48 +00:00
import io.github.thebusybiscuit.slimefun4.implementation.listeners.GrapplingHookListener;
import io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunBowListener;
import io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask;
2016-04-14 16:24:03 +00:00
import me.mrCookieSlime.CSCoreLibPlugin.CSCoreLib;
/**
2020-06-27 11:10:47 +00:00
* @deprecated This class has been moved to {@link io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin}
*
2020-06-25 05:05:17 +00:00
* @author TheBusyBiscuit
2020-06-27 11:10:47 +00:00
*
*/
2020-06-27 11:10:47 +00:00
@Deprecated
public class SlimefunPlugin {
2020-03-27 11:16:42 +00:00
public static Config getCfg() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getCfg();
}
public static Config getResearchCfg() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getResearchCfg();
}
public static Config getItemCfg() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getItemCfg();
}
public static GPSNetwork getGPSNetwork() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getGPSNetwork();
}
public static TickerTask getTicker() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getTickerTask();
}
public static String getVersion() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getVersion();
}
public static ProtectionManager getProtectionManager() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getProtectionManager();
}
public static LocalizationService getLocal() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getLocalization();
}
2020-03-18 13:20:49 +00:00
public static MinecraftRecipeService getMinecraftRecipes() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getMinecraftRecipeService();
}
public static CustomItemDataService getItemDataService() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getItemDataService();
}
public static CustomTextureService getItemTextureService() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getItemTextureService();
}
2020-03-10 20:44:24 +00:00
public static PermissionsService getPermissionsService() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getPermissionsService();
2020-03-10 20:44:24 +00:00
}
public static BlockDataService getBlockDataService() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getBlockDataService();
}
2020-03-12 02:32:04 +00:00
public static ThirdPartyPluginService getThirdPartySupportService() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getThirdPartySupportService();
2020-03-12 02:32:04 +00:00
}
public static PerWorldSettingsService getWorldSettingsService() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getWorldSettingsService();
}
public static UpdaterService getUpdater() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getUpdater();
}
public static GitHubService getGitHubService() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getGitHubService();
}
public static SlimefunRegistry getRegistry() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getRegistry();
}
public static NetworkManager getNetworkManager() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getNetworkManager();
}
public static AncientAltarListener getAncientAltarListener() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getAncientAltarListener();
}
public static GrapplingHookListener getGrapplingHookListener() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getGrapplingHookListener();
}
public static BackpackListener getBackpackListener() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getBackpackListener();
}
public static SlimefunBowListener getBowListener() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getBowListener();
}
public static Set<Plugin> getInstalledAddons() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getInstalledAddons();
}
public static SlimefunCommand getCommand() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getCommand();
}
2020-03-14 00:12:52 +00:00
public static MinecraftVersion getMinecraftVersion() {
2020-06-27 11:10:47 +00:00
return io.github.thebusybiscuit.slimefun4.implementation.SlimefunPlugin.getMinecraftVersion();
2020-03-14 00:12:52 +00:00
}
public static String getCSCoreLibVersion() {
return CSCoreLib.getLib().getDescription().getVersion();
}
2020-03-14 00:12:52 +00:00
2016-04-14 16:24:03 +00:00
}