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

Leaves are considered solid faces for block placement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.15 Pre-release 1
    • 1.14.4, 19w37a, 19w39a, 19w41a, 19w46b
    • None
    • Confirmed
    • Block states
    • Important

      Blocks that previously could not be placed on leaves, can now be placed on leaves.

      Analysis (mojang mappings)

      This is speculative, but it seems to be caused by the BlockState cache, which caches the results of isFaceSturdy for all blockstates shortly after blocks are defined. If this runs before blocks are added to tags, the check for the leaves tag in Block.isFaceSturdy will fail once and never be run again, since the cache will be used from that point onward.

            ProfMobius ProfMobius (Thomas Guimbretiere)
            tryashtar [Mod] tryashtar
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: