9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-31 04:46:37 +00:00

添加思路

This commit is contained in:
XiaoMoMi
2025-06-17 04:02:54 +08:00
parent acf4079bb6
commit 07b51f39bf

View File

@@ -792,6 +792,8 @@ public class RecipeEventListener implements Listener {
}
// 不是完美的解决方案,仍然需要更多的探讨
// TODO 生成类代理掉ResultSlot并注入menu的slots对象修改掉onTake方法
// TODO 对于耐久度降低的配方应该注册special recipe
@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGHEST)
public void onCraft(CraftItemEvent event) {
org.bukkit.inventory.Recipe recipe = event.getRecipe();