Got these axes from piglin brutes… Does anyone know why this happens like why does the game calculate it this way?



by sevenredcandlz

13 Comments

  1. IronCat_2500 on

    Repairing tools in your inventory, always gives a durability greater than the sum of its parts

  2. 0 durability = 1 durability. You still have 1 use.

    If 0 = 1, then 1 = 2.

    0 + 0 = 1

    New formula: 1 + 1 = 2

  3. JustinTimeCuber on

    When repairing tools in the crafting table, a bonus is added equal to 5% of the full durability of the item, rounded down. So in this case gold tools have 32 durability, 5% of 32 is 1.6, so you get a bonus of +1 durability.

  4. That’s because the value most likely has a decimal point that is not displayed in the UI, for example one item with a value of 0.4 would round down to zero, but combining two of those : 0.4 + 0.4 = 0.8, which would round up to 1.

    And that’s not counting the extra durability bump you get from combining tools.

    Edit: looked it up and I’m very wrong, apparently durability is stored as an integer, so no decimal point.

    This is just witchcraft.

  5. Everyone has already given the answer, but mathematically with rounding this still works if each is under .5 individually but above .5 combined. Example: .2 and .4 both round down to 0, combine them and get .6 which rounds up to 1.

  6. IndependentNo8520 on

    I would assume it’s 0.5 and 0.5 because the axes still exist, broken will be 0.0

    .5 + .5=1

  7. In computer programming their 0 is our 1, so in this case 1+1=2, a 0 durability tool has effectively 1 durability left

  8. If they were truly Zero durability they’d be broken and nonexistent. As said, they’re probably 0.5 and it’s just rounding down. Since they were from mobs they’re just dropping to you can fix them yourself. Or just melt them down into nuggets like I do.