9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-29 03:49:15 +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

@@ -125,6 +125,7 @@ public class BlockItemBehavior extends ItemBehavior {
return InteractionResult.SUCCESS;
}
// for child class to override
@Nullable
public BlockPlaceContext updatePlacementContext(BlockPlaceContext context) {
return context;