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

Waterlogged leaves and mangrove roots or fire-resistant wooden items not being lit on fire by lava random ticks still causes block updates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.2, 22w44a, 1.20, 1.20.1 Release Candidate 1, 1.20.1
    • None
    • Confirmed
    • Block states, Performance
    • Low
    • Platform

      The Bug

      Waterlogged leaves and mangrove roots or fire-resistant wooden items with lava nearby don't burn and shouldn't cause any block updates, since there is no visible fire but they do.

      As far as i can tell, the blockstate can be set to it but it immediately updates and is extinguished
       

      Affected fire-resistant wooden items:

      1. All wooden door
      2. All wooden trapdoor
      3. All wooden pressure plate
      4. Bed
      5. Campfire
      6. Soul campfire
      7. All wooden sign
      8. All wooden hanging sign
      9. Chest
      10. Daylight detector
      11. Trapped chest

      referencing this line for burnability:

      REPLACEABLE_PLANT = (new Material.Builder(MapColor.DARK_GREEN)).allowsMovement().lightPassesThrough().notSolid().destroyedByPiston().replaceable().burnable().build();
      

      And here in rava randomtick

      if (blockState.isAir()) {
      
          if (this.canLightFire(world, blockPos))
      
      {                 world.setBlockState(blockPos, AbstractFireBlock.getState(world, blockPos));                 return;          }
      
      }
      

      (yarn mappings, LavaFluid.class:84)

      How to reproduce

      • Build the setup from the screenshot
      • wait
      • The piston will fire meaning that the observer detected a block update

            Unassigned Unassigned
            HoppelHobbit HoppelHobbit
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: