// x = maxDamage : (maxDamage - currentDamage)
// if (x > 15) x = 14;
// if (x == 15) x = 13;
// return 15 / x
int x = stack.getMaxDamage() / (stack.getMaxDamage() - stack.getDamage());
x = x > 15 ? 14 : x == 15 ? 13 : x;
return 15 / x;
The mod introduces sword displays to your minecraft world.
License
sokratis12GR/Sword-Displays
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The mod introduces sword displays to your minecraft world.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Packages 0
No packages published