9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-28 19:39:11 +00:00

混合方块行为

This commit is contained in:
XiaoMoMi
2025-05-25 21:15:51 +08:00
parent de47525c3b
commit 5c827ddf62
24 changed files with 361 additions and 223 deletions

View File

@@ -22,7 +22,7 @@ public abstract class BlockBehavior {
}
public Object updateShape(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
return superMethod.call();
return args[0];
}
public void neighborChanged(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {