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

Entities don't catch on fire when inside lava fluid states

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.14.1, Minecraft 1.14.2
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      Block states

      Description

      This is caused by checking if the block is lava, rather than if the fluid state is lava in World.isFlamableWithin(AxisAlignedBB) (MCP), World.doesAreaContainFireSource(BoundingBox) (Yarn), axy.b(Lcea;)Z (obf). The following code that does this check

      IBlockState state = this.getBlockState(blockpos$pooledmutableblockpos.setPos(k1, l1, i2));
      Block block = state.getBlock();
      if (block == Blocks.FIRE || block == Blocks.LAVA) { // <--- This checks if the block is lava. Due to the addition of fluid states, there can be a lava fluid at the pos, but the block may not be lava.
       return true;
      }

      could be changed to check the fluid state instead.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Cadiboo Cadiboo Dev
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: