Movable Tile Entities
#1
How hard would it be to be able to move tile entities (chests, hoppers) with pistons?
Is the code on Tile Entities based on fixed coordinates or would it be feasible?

If itĀ isĀ feasible, could it be added as an option?

Thanks
Reply
Thanks given by:
#2
I do believe we could move enderchests at one point, even with a sly comment in the code about it, but it was brought into line with vanilla. However enderchests are stateless.

Moving normal chests which do have an associated tile entity would involve enumerating entities at the block's position and adjusting their coordinates. I suspect it's feasible.
Reply
Thanks given by:
#3
I suppose it's doable. The only problem (but that's with pushing regular blocks as well) is on chunk boundaries, when pushing something through to a chunk that's not loaded.
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)