9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-26 02:19:23 +00:00

refactor default state provider

This commit is contained in:
XiaoMoMi
2025-03-21 03:39:30 +08:00
parent 75dd95b4c0
commit 88cec66abb
4 changed files with 57 additions and 36 deletions

View File

@@ -46,4 +46,8 @@ public abstract class BlockBehavior {
public void performBoneMeal(Object thisBlock, Object[] args) throws Exception {
}
public Object updateStateForPlacement(Object context, Object state) {
return state;
}
}