ModsJava
FrostAPI
Java mod listed for Minecraft 1.16. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotFrostAPI. A lightweight API that brings support for my plugins, currently for
Listeners3. This can also be used for anybody else's plugins, simply install the plugin with the instructions below.
If you are a server owner:
You may have been told by the author of a plugin that your server has, to install FrostAPI to use the plugin. To use FrostAPI it's pretty simple, simply download the API, drag and drop it to your plugins folder and you're done!
If you are a developer:
You can use the API to create plugins, with its features. Below you can see how to get FrostAPI working and ready for use, and also its built-in methods.
How to install FrostAPI:
Download the plugin and place it in your project as a library, then in your plugin.yml add a "soft_depend" or a "depend" depending on how major the API is to your plugin, and then add a colon
), and "FrostAPI", it should look like this:
Then to register the API, in your main class put the following:
You're done! You can now use the built-in methods
How to use FrostAPI:
To use the API, wherever you want to access it add the following:
The following methods which are currently in the API:
NOTE: time in the parameters is measured in ticks, which means that 20L is 1 second.
Then another one:
NOTE: Once again, the parameters after SubTitle are measured in ticks, so 20 ticks are 1 second.
If you are a server owner:
You may have been told by the author of a plugin that your server has, to install FrostAPI to use the plugin. To use FrostAPI it's pretty simple, simply download the API, drag and drop it to your plugins folder and you're done!
If you are a developer:
You can use the API to create plugins, with its features. Below you can see how to get FrostAPI working and ready for use, and also its built-in methods.
How to install FrostAPI:
Download the plugin and place it in your project as a library, then in your plugin.yml add a "soft_depend" or a "depend" depending on how major the API is to your plugin, and then add a colon
), and "FrostAPI", it should look like this:
Code (Java):
depend
: FrostAPI
Code (Text):
private static FrostAPI frostapi = FrostAPI.getInstance();
public FrostAPI getFrostAPI() {
return frostapi;
}
@Override
public void onEnable() {
this.frostapi = FrostAPI.getInstance();
}
@Override
public void onDisable() {
this.frostapi = null;
}
public FrostAPI getFrostAPI() {
return frostapi;
}
@Override
public void onEnable() {
this.frostapi = FrostAPI.getInstance();
}
@Override
public void onDisable() {
this.frostapi = null;
}
How to use FrostAPI:
To use the API, wherever you want to access it add the following:
Code (Text):
<mainclassname>.getFrostAPI.<method>(<parameters>);
Code (Text):
<mainclassname>.getFrostAPI.vanishPlayer(player, time)
Then another one:
Code (Java):
<mainclassname
>.
getFrostAPI.
sendTitle
(player, Title, SubTitle, FadeIn, Stay, FadeOut
)
;
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.16
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
FrostAPI is a free Minecraft Java mod. Compatible with Minecraft 1.16. Downloaded 176 times (via Spigot). Download it and open it directly in the game.