๐Plugin Details
Detailed plugin description.
Plugin is coded in Java 8
Supported NMS versions
Basically plugin supports all Spigot versions above 1.12. (It should support every framework)
1_13_R1, 1_13_R2
1_14_R1
1_15_R1
1_16_R1, 1_16_R2, 1_16_R3
1_17_R1
1_18_R1, 1_18_R2
1_19_R1, 1_19_R2, 1_19_R3
1_20_R1, 1_20_R2
Included tasks in API
Of course you can create your own task implementation.
LIGHT -> Repeats every second (You can't change FPS in t, keeps repeating animation in loop) REPEATING -> Fully configurable FPS (Keeps repeating animation in loop) FADE_IN -> Fully configurable FPS (Keeps repeating last frame after animation ends)
Task interface
package sk.m3ii0.amazingtitles.code.internal.components;
import org.bukkit.boss.BarColor;
import org.bukkit.entity.Player;
import sk.m3ii0.amazingtitles.code.api.enums.DisplayType;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
public interface AnimationComponent {
default List<String> frames() {
return new ArrayList<>();
}
default String mainText() {
return "This text is not set!";
}
default Optional<String> subText() {
return Optional.empty();
}
default Optional<BarColor> componentColor() {
return Optional.empty();
}
default int duration() {
return 10;
}
default int fps() {
return 1;
}
default DisplayType display() {
return DisplayType.TITLE;
}
String callCurrentFrame();
void addReceivers(Player... players);
void addReceivers(Collection<Player> players);
void removeReceivers(Player... players);
void removeReceivers(Collection<Player> players);
void prepare();
void run();
void end();
}
Title
--
Subtitle
--
Action Bar
--
Boss Bar
--
Messages
--
Notifications
--
Static Bar
--
Debug Catcher
--
Plugin API
--
Before asking question, try to use CTRL+F5. This wiki is constantly updated!
Last updated