Ghaz-ranka

Untitled

May 23rd, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. if (integer.decrementAndGet() == 10) {
  2. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[ ]")));
  3. }
  4. if (integer.decrementAndGet() == 9) {
  5. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[| ]")));
  6. }
  7. if (integer.decrementAndGet() == 8) {
  8. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[|| ]")));
  9. }
  10. if (integer.decrementAndGet() == 7) {
  11. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||| ]")));
  12. }
  13. if (integer.decrementAndGet() == 6) {
  14. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[|||| ]")));
  15. }
  16. if (integer.decrementAndGet() == 5) {
  17. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||||| ]")));
  18. }
  19. if (integer.decrementAndGet() == 4) {
  20. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[|||||| ]")));
  21. }
  22. if (integer.decrementAndGet() == 3) {
  23. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||||||| ]")));
  24. }
  25. if (integer.decrementAndGet() == 2) {
  26. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[|||||||| ]")));
  27. }
  28. if (integer.decrementAndGet() == 1) {
  29. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||||||||| ]")));
  30. }
  31. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("")));
  32. if (integer.decrementAndGet() == 0) {
  33. obj.setDisplayName(Text.of(TextColors.YELLOW, String.format("[||||||||||]")));
Advertisement
Add Comment
Please, Sign In to add comment