Closed zimuya4153 closed 3 months ago
活塞推动方块事件,提供的方块对象,坐标错的,是活塞的坐标
后台输入jsdebug mc.listen('onPistonTryPush',(pos,block)=>{log(pos,block.pos)}) 然后到游戏里使用活塞推动方块,发现两个坐标相同
jsdebug mc.listen('onPistonTryPush',(pos,block)=>{log(pos,block.pos)})
修复这个bug
No response
Windows 10
1.20.81-1.671+a9081c5
LeviLamina-0.12.3+032fa4e52
0.7.8
Describe the bug
活塞推动方块事件,提供的方块对象,坐标错的,是活塞的坐标
To Reproduce
后台输入
jsdebug mc.listen('onPistonTryPush',(pos,block)=>{log(pos,block.pos)})
然后到游戏里使用活塞推动方块,发现两个坐标相同Expected behavior
修复这个bug
Screenshots
No response
Platform
Windows 10
BDS Version
1.20.81-1.671+a9081c5
LeviLamina Version
LeviLamina-0.12.3+032fa4e52
LegacyScriptEngine Version
0.7.8
Additional context
No response