Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.13-pre3
    • Fix Version/s: Minecraft 1.13-pre4
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      The damage predicate values are inversed, specifying a value that’s equal to 1 damage on that item makes it apply when it has 1 use left instead.

      This goes for all decimal predicates: time, damage, angle, etc.

      Original description

      In 1.13- pre-release 3, I have a resourcepack with damage item variants. Here's the code for a diamond hoe model:

      {
      "parent": "item/handheld",
      "textures":
      
      { "layer0": "items/diamond_hoe" }
      
      ,
      "overrides": [
      
      { "predicate": { "damaged": 0, "damage": 0.10}
      
      , "model": "item/wooden_pickaxe"},
      
      { "predicate": { "damaged": 0, "damage": 0.20}
      
      , "model": "item/stone_pickaxe"},
      
      { "predicate": { "damaged": 0, "damage": 0.30}
      
      , "model": "item/iron_pickaxe"} 
      ]
      }
      

      The undamaged diamond hoe looks fine, the 0.10 damage looks like a wooden pickaxe as intended, but the 0.20 and the 0.30 damage looks like a wooden pickaxe too, even though I put "iron pickaxe" and "stone pickaxe". I tested the resourcepack in 1.13- pre2, and it worked100%. PLEASE HELP

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grum [Mojang] Grum (Erik Broes)
                Reporter:
                Emile120403 Léo de Saint Salvy
              • Votes:
                18 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: