// 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;
-
-
Notifications
You must be signed in to change notification settings - Fork 1
The mod introduces sword displays to your minecraft world.
License
sokratis12GR/Sword-Displays
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