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

Piston bases have tile entities when extending/retracting despite not needing them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 19w42a, 1.15.2, 20w18a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 2, 1.16.2, 20w49a, 1.20.5
    • None
    • Confirmed
    • Performance
    • Low
    • Platform

      When pistons extend or retract, their bases have tile entities, even though those are not needed. I was told that the extension progress is saved in a float, but this is not required, because there are a limited amount of ticks that an extension or retraction lasts (to my understanding at most three), so it could be saved in a block state. This would improve performance.

      (split off of MC-159902)

            Unassigned Unassigned
            FaRo1 Fabian Röling
            Votes:
            21 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: