-
-
Save xDefcon/4c269fed6bfe8b7abe54fb2a5a500d4d to your computer and use it in GitHub Desktop.
KnockbackMaster API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.xdefcon.knockbackmaster.api; | |
/** | |
* KnockbackMaster's API | |
* | |
* @author Luigi Martinelli <luigi@xdefcon.com> | |
* @version 1.0 | |
*/ | |
public final class KnockbackMasterAPI { | |
/** | |
* Checks if the API is fully loaded. | |
* | |
* @return boolean api loaded or not loaded | |
*/ | |
public static boolean isLoaded() {} | |
/** | |
* Checks if a specified Player is in Combo Mode or not. | |
* | |
* @param player the specified player | |
* @return boolean player in combo mode or not | |
*/ | |
public static boolean isInComboMode(Player player) {} | |
/** | |
* Toggles a specified player's combo mode permanently. | |
* | |
* @param player the specified player | |
* @param value boolean combo mode status | |
*/ | |
public static void setComboMode(Player player, boolean value) {} | |
/** | |
* Sets combo mode enabled for a specified player for a certain amount of time (milliseconds). | |
* | |
* @param player the specified player | |
* @param duration the combo mode duration in milliseconds | |
*/ | |
public static void setComboMode(Player player, int duration) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment