mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 14:14:48 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
c22c5f9d79
commit
afb5f1d645
60 files changed
+592
-509
No files matched your search
@@ -8,8 +8,8 @@ public interface ITimers {
|
||||
* Adds a timer to the NPC or player with the given attributes. If this function is used and there is already a
|
||||
* timer with the given ID, an exception will be thrown.
|
||||
*
|
||||
* @param id The id of the timer.
|
||||
* @param ticks The amount of ticks before the timer ends.
|
||||
* @param id The id of the timer.
|
||||
* @param ticks The amount of ticks before the timer ends.
|
||||
* @param repeat Whether this timer repeats when it reaches its maximum amount of ticks.
|
||||
*/
|
||||
void start(int id, int ticks, boolean repeat);
|
||||
@@ -18,14 +18,13 @@ public interface ITimers {
|
||||
* Adds a timer to the NPC or player with the given attributes. No exception will be thrown if there is already a
|
||||
* timer with the given ID when using this function.
|
||||
*
|
||||
* @param id The id of the timer.
|
||||
* @param ticks The amount of ticks before the timer ends.
|
||||
* @param id The id of the timer.
|
||||
* @param ticks The amount of ticks before the timer ends.
|
||||
* @param repeat Whether this timer repeats when it reaches its maximum amount of ticks.
|
||||
*/
|
||||
void forceStart(int id, int ticks, boolean repeat);
|
||||
|
||||
/**
|
||||
*
|
||||
* @return True if the set of timers contains a timer with the given id, false otherwise.
|
||||
*/
|
||||
boolean has(int id);
|
||||
@@ -80,7 +79,6 @@ public interface ITimers {
|
||||
void setRepeats(int id, boolean repeat);
|
||||
|
||||
/**
|
||||
*
|
||||
* @return The amount of timers in the set of timers.
|
||||
*/
|
||||
int size();
|
||||
|
||||
Reference in new issue
Block a user