加挂钩 右键食物调整

This commit is contained in:
wenhe committed 2026-09-28 16:16:17 +08:00
1 parent 140e179e2b
commit 7232a6e082
14 files changed
+116 -56

No files matched your search

@@ -76,6 +76,11 @@ class NaturalService(BlueFoxServerSystem):
"""返回本功能管辖的所有右键方块名集合(右键路由用)"""
return self.featureBlocks
def getItemUseOnRules(self):
"""返回"手持物品右键方块表面"的规则。稻谷种植已改用物品 JSON 的
minecraft:seed 组件原生处理, 故返回空(但接口必须实现, dispatch 器会调用)。"""
return {}
def handleBlockUse(self, args):
"""由 FeatureDispatcher 转发的右键方块入口(柴火/葡萄收获/水稻收获)"""
blockName = args.get("blockName")