Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-188020

Furnace is broken when reloaded with large cooktime recipe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.15.2, 1.16 Pre-release 2
    • None
    • Unconfirmed
    • (Unassigned)

      When furnaces/smoker/blast furnaces are unloaded and reloaded, its method with CookTime and CookTimeTotal is broken. It happens when datapack recipe defines cooktime larger than 32768, because it stores it as Cooktime as int16_t, which is - signed cooktime. Then furnace type block entities would not cook anything, but consumes fuel, adds cooktime, infinitely. Progress bar would be seemed like 'reversing', because it renders by referring abs(cooktime-cooktimetotal) / cooktimeTotal.  

       

      We could easily check if the error occured by getting block nbt data, checking for cooktime > cooktimetotal.

        1. 2020-06-08_00.52.58.png
          484 kB
          Chlorophyta Capsosiphonaceae
        2. 2020-06-08_00.53.24.png
          334 kB
          Chlorophyta Capsosiphonaceae

            Unassigned Unassigned
            definitelynotuser Chlorophyta Capsosiphonaceae
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: