Mojira Archive
MC-164009

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

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)

Unresolved

Fabian Röling

2019-10-17, 11:39 PM

2024-06-30, 09:42 AM

21

8

Confirmed

Low

Platform

Performance

1.14.4 - 1.20.51.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

-