Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (integer.decrementAndGet() == 10) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[ ]")));
- }
- if (integer.decrementAndGet() == 9) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[| ]")));
- }
- if (integer.decrementAndGet() == 8) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[|| ]")));
- }
- if (integer.decrementAndGet() == 7) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||| ]")));
- }
- if (integer.decrementAndGet() == 6) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[|||| ]")));
- }
- if (integer.decrementAndGet() == 5) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||||| ]")));
- }
- if (integer.decrementAndGet() == 4) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[|||||| ]")));
- }
- if (integer.decrementAndGet() == 3) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||||||| ]")));
- }
- if (integer.decrementAndGet() == 2) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[|||||||| ]")));
- }
- if (integer.decrementAndGet() == 1) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||||||||| ]")));
- }
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("")));
- if (integer.decrementAndGet() == 0) {
- obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||||||||||]")));
Advertisement
Add Comment
Please, Sign In to add comment