09-08-2012, 11:03 PM
Al right, I admit, this is a bit crazy idea, but bare with me:
What if we sent a client a packet, that tells it that some particular block is moved by a piston? And (magic) there isn't, and never was any piston. At all.
I assume (after short digging through MCS source), that this is possible. My serach led me to "cProtocol125::SendBlockAction" all the way from "cPiston::ExtendPiston". cPiston class uses "cWorld::BroadcastBlockAction" to perform such an action.
But it's now Lua-exported, and I assume there is quite good reason for it
Question is: could we have some function in lua to move blocks without pistons? ^_^ That would be... awesome.
What if we sent a client a packet, that tells it that some particular block is moved by a piston? And (magic) there isn't, and never was any piston. At all.
I assume (after short digging through MCS source), that this is possible. My serach led me to "cProtocol125::SendBlockAction" all the way from "cPiston::ExtendPiston". cPiston class uses "cWorld::BroadcastBlockAction" to perform such an action.
But it's now Lua-exported, and I assume there is quite good reason for it
Question is: could we have some function in lua to move blocks without pistons? ^_^ That would be... awesome.