跳到正文
烈焰甘蔗Wiki

Pot(烹饪锅)

事实基准:harvestcraft-1.3.14-GTNH.jar(MC 1.7.10 / Forge 10.13.4.1614)CFR 0.152 反编译源码。

基本信息

属性 值 来源
注册名 harvestcraft:potItem ItemRegistry.java:1797
显示名 Pot en_US.lang:265
Java 类 ItemPamBlockTool ItemRegistry.java:1004
字段 ItemRegistry.potItem ItemRegistry.java 字段声明
创造标签 tabHarvestCraft(HarvestCraft Misc) ItemRegistry.java:1004
条件注册 否,无条件注册 ItemRegistry.java:1797
属性 值 来源
最大堆叠 1(func_77625_d(1)) ItemPamBlockTool.java
耐久度 无(类中无 setMaxDamage 调用,物品不可损坏) 同上
是否可重复使用 可(无 setMaxDamage,不会损坏);但会消耗——见「合成配方」 源码中全仓库无 setContainerItem / getContainerItem 覆写
矿词典名 toolPot PamOtherOreDictionaryRegistry.java
合成配方来源类 PamOtherRecipes.java(制作工具本身)+ PamFoodRecipes.java / PamFoodFishingCraftRecipes.java(作为材料);CraftingManagerPamPot(放置成方块后的私有 3×3 界面配方) 本条目「作为材料被使用」表的来源列

用途

放置成方块后打开一个 3×3 合成界面。该界面不是原版合成台,配方来自本 mod 私有的 CraftingManagerPamPot,共 64 条无序配方(CraftingManagerPamPot.java:28-94,其中 vegetablesoupItem 同一份被重复注册 3 次::45-47)。

作为方块形态

属性 值 来源
可放置方块 BlockRegistry.pamPot ItemPamBlockTool.java:22
方块条目 pot —
GUI ID 3 方块 onBlockActivated 调 openGui(..., 3, x, y, z)(BlockPamPot.java:62),GuiHandler 按此 ID 分派
Container 类 ContainerPamPot GuiHandler.java:57-58(容器)/ GuiHandler.java:97-98(GUI)
GUI 类 GuiPamPot GuiHandler.java:57-58(容器)/ GuiHandler.java:97-98(GUI)
配方管理器 CraftingManagerPamPot Container*.java 的 findMatchingRecipe 调用
界面槽位 9 个 3×3 合成格 + 1 个结果格 + 玩家 36 格 ContainerPamPot.java:21,35-48;关闭界面时 func_75134_a 把 9 个合成格逐格塞回玩家背包(:56-65)
容量 不是容器物品——它自己不存储任何物品;所谓「容量」只指界面上 3×3 = 9 个合成格 ItemPamBlockTool 无 NBT 字段(ItemPamBlockTool.java:18-23 只有 spawnID)
窗口关闭校验 func_75145_c 校验原坐标方块是否仍是 BlockRegistry.pamPot ContainerPamPot.java:67-69

合成配方(制作这件工具)

来源 图案(自上而下) 材料 镜像
PamOtherRecipes.java:54 X@@<br> @@ ingotIron + stickWood 是
PamOtherRecipes.java:62 X@@<br> @@ ingotCopper + stickWood 是
PamOtherRecipes.java:66 X@@<br> @@ ingotSteel + stickWood 是

全部为 Forge 的 ShapedOreRecipe(Item, new Object[]{ **mirrored**, 图案, … }) 重载,第一个 Object 是镜像标记。true 表示同一配方在水平镜像后同样成立 —— 例如锅的 X@@ / @@ 镜像后是 @@X / @@ ,即锅柄朝左朝右都能合成。

作为材料被使用

下列配方通过矿词典名 toolPot 把本物品当作材料。这是「集合」关系:一条矿词典名可对应多个物品,一条配方也可引用多个矿词典名,因此下表按 (来源, 产物) 去重,不按调用点计数。

来源 产物 本物品命中的矿词典名 同一配方中的其它矿词典材料
PamFoodFishingCraftRecipes.java:16 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:23 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:30 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:37 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:44 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:51 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:58 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:65 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:72 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:79 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodFishingCraftRecipes.java:86 stockItem toolPot 搅拌盆(toolMixingbowl)
PamFoodRecipes.java:113 cheeseItem toolPot foodSalt、listAllmilk
PamFoodRecipes.java:114 cheeseItem toolPot dustSalt、listAllmilk
PamFoodRecipes.java:115 cheeseItem toolPot itemSalt、listAllmilk
PamFoodRecipes.java:120 applesauceItem toolPot cropApple
PamFoodRecipes.java:125 pumpkinsoupItem toolPot foodStock、listAllheavycream
PamFoodRecipes.java:130 carrotsoupItem toolPot cropCarrot、foodStock、listAllheavycream
PamFoodRecipes.java:138 potatosoupItem toolPot cropPotato、foodSalt、foodStock
PamFoodRecipes.java:139 potatosoupItem toolPot cropPotato、dustSalt、foodStock
PamFoodRecipes.java:140 potatosoupItem toolPot cropPotato、foodStock、itemSalt
PamFoodRecipes.java:149 chickennoodlesoupItem toolPot cropCarrot、foodPasta、foodStock、listAllchicken
PamFoodRecipes.java:152 hotdogItem toolPot foodBread、listAllpork
PamFoodRecipes.java:157 potroastItem toolPot cropCarrot、cropPotato、foodStock、listAllbeef
PamFoodRecipes.java:164 boiledeggItem toolPot listAllboiledwater、listAllegg
PamFoodRecipes.java:170 spidereyesoupItem toolPot foodStock
PamFoodRecipes.java:181 vegetablesoupItem toolPot cropCarrot、cropPotato、foodStock、listAllmushroom
PamFoodRecipes.java:182 vegetablesoupItem toolPot cropCarrot、cropPotato、foodStock、listAllmushroom
PamFoodRecipes.java:183 vegetablesoupItem toolPot cropCarrot、cropPotato、foodStock、listAllmushroom
PamFoodRecipes.java:184 stockItem toolPot —
PamFoodRecipes.java:185 stockItem toolPot listAllmeatraw
PamFoodRecipes.java:186 stockItem toolPot listAllveggie
PamFoodRecipes.java:190 tomatosoupItem toolPot cropTomato、foodStock
PamFoodRecipes.java:217 onionsoupItem toolPot cropOnion、foodGrilledcheese、foodStock
PamFoodRecipes.java:244 vinegarItem toolPot foodGrapejuice
PamFoodRecipes.java:248 picklesItem toolPot cropCucumber、foodSalt、foodVinegar
PamFoodRecipes.java:249 picklesItem toolPot cropCucumber、dustSalt、foodVinegar
PamFoodRecipes.java:250 picklesItem toolPot cropCucumber、foodVinegar、itemSalt
PamFoodRecipes.java:252 cucumbersoupItem toolPot cropCucumber、foodStock、listAllheavycream
PamFoodRecipes.java:254 marinatedcucumbersItem toolPot cropCucumber、cropOnion、foodVinegar、listAllsugar
PamFoodRecipes.java:255 ricesoupItem toolPot cropRice、foodStock
PamFoodRecipes.java:263 bakedbeansItem toolPot cropBean、listAllporkcooked、listAllsugar
PamFoodRecipes.java:264 beansandriceItem toolPot cropBean、cropOnion、cropRice、listAllporkcooked
PamFoodRecipes.java:265 beansandriceItem toolPot cropBean、cropBellpepper、cropRice、listAllporkcooked
PamFoodRecipes.java:266 beansandriceItem toolPot cropBean、cropChilipepper、cropRice、listAllporkcooked
PamFoodRecipes.java:267 chiliItem toolPot cropBean、cropOnion、listAllbeefcooked
PamFoodRecipes.java:268 chiliItem toolPot cropBean、cropBellpepper、listAllbeefcooked
PamFoodRecipes.java:269 chiliItem toolPot cropBean、cropChilipepper、listAllbeefcooked
PamFoodRecipes.java:312 pickledbeetsItem toolPot cropBeet、foodSalt、foodVinegar
PamFoodRecipes.java:313 pickledbeetsItem toolPot cropBeet、dustSalt、foodVinegar
PamFoodRecipes.java:314 pickledbeetsItem toolPot cropBeet、foodVinegar、itemSalt
PamFoodRecipes.java:316 beetsoupItem toolPot cropBeet、cropOnion、foodBlackpepper、listAllmilk
PamFoodRecipes.java:318 broccolimacItem toolPot cropBroccoli、foodCheese、foodPasta
PamFoodRecipes.java:320 creamedbroccolisoupItem toolPot cropBroccoli、cropCarrot、foodBlackpepper、foodFlour、foodStock
PamFoodRecipes.java:324 steamedpeasItem toolPot cropPeas、foodSalt、listAllwater
PamFoodRecipes.java:325 steamedpeasItem toolPot cropPeas、dustSalt、listAllwater
PamFoodRecipes.java:326 steamedpeasItem toolPot cropPeas、itemSalt、listAllwater
PamFoodRecipes.java:327 splitpeasoupItem toolPot cropPeas、foodBlackpepper、foodStock、listAllporkcooked
PamFoodRecipes.java:331 turnipsoupItem toolPot cropTurnip、foodButter、foodStock
PamFoodRecipes.java:364 celerysoupItem toolPot cropCarrot、cropCelery、cropOnion、foodStock
PamFoodRecipes.java:370 asparagussoupItem toolPot cropAsparagus、cropOnion、foodButter、foodStock
PamFoodRecipes.java:381 creamofavocadosoupItem toolPot cropAvocado、cropLime、cropSpiceleaf、foodStock、listAllheavycream
PamFoodRecipes.java:396 chickencurryItem toolPot cropChilipepper、cropCoconut、cropGarlic、cropRice、foodGroundcinnamon、foodPlainyogurt、listAllchicken、listAllspice
PamFoodRecipes.java:421 marshmellowsItem toolPot listAllegg、listAllsugar、listAllwater
PamFoodRecipes.java:422 donutItem toolPot foodDough、foodOliveoil
PamFoodRecipes.java:427 cactussoupItem toolPot foodStock
PamFoodRecipes.java:429 seedsoupItem toolPot foodStock、listAllseed
PamFoodRecipes.java:437 friedchickenItem toolPot cropSpiceleaf、foodBlackpepper、foodFlour、foodOliveoil、listAllchicken
PamFoodRecipes.java:45 saltItem toolPot listAllwater
PamFoodRecipes.java:474 cranberrysauceItem toolPot cropCranberry、listAllsugar
PamFoodRecipes.java:489 meatystewItem toolPot foodFlour、foodStock、listAllmeat
PamFoodRecipes.java:500 gardensoupItem toolPot foodStock、listAllveggie
PamFoodRecipes.java:535 cherrysodaItem toolPot foodBubblywater、foodCherryjuice、listAllsugar
PamFoodRecipes.java:536 colasodaItem toolPot cropSpiceleaf、foodBubblywater、listAllsugar
PamFoodRecipes.java:537 gingersodaItem toolPot cropGinger、foodBubblywater、listAllsugar
PamFoodRecipes.java:538 grapesodaItem toolPot foodBubblywater、foodGrapejuice、listAllsugar
PamFoodRecipes.java:539 lemonlimesodaItem toolPot cropLemon、foodBubblywater、foodLimejuice、listAllsugar
PamFoodRecipes.java:540 orangesodaItem toolPot foodBubblywater、foodOrangejuice、listAllsugar
PamFoodRecipes.java:541 rootbeersodaItem toolPot cropEdibleroot、foodBubblywater、listAllsugar
PamFoodRecipes.java:542 strawberrysodaItem toolPot foodBubblywater、foodStrawberryjuice、listAllsugar
PamFoodRecipes.java:550 oldworldveggiesoupItem toolPot cropBarley、cropOnion、cropPeas、foodStock
PamFoodRecipes.java:553 lambbarleysoupItem toolPot cropBarley、cropCarrot、cropOnion、foodStock、listAllmutton
PamFoodRecipes.java:563 leekbaconsoupItem toolPot cropLeek、cropPotato、listAllheavycream、listAllporkcooked
PamFoodRecipes.java:566 bamboosteamedriceItem toolPot cropBambooshoot、cropRice
PamFoodRecipes.java:586 grapefruitsodaItem toolPot foodBubblywater、foodGrapefruitjuice、listAllsugar
PamFoodRecipes.java:607 zeppoleItem toolPot foodDough、foodGroundcinnamon、foodOliveoil
PamFoodRecipes.java:614 chickengumboItem toolPot cropBellpepper、cropCelery、cropOkra、cropOnion、foodStock、listAllchicken、listAllspice
PamFoodRecipes.java:619 vegemiteItem toolPot cropBarley、cropSpiceleaf、listAllsugar、listAllwater
PamFoodRecipes.java:626 chikorollItem toolPot cropCabbage、cropCarrot、cropLeek、cropOnion、foodDough、foodOliveoil、listAllchickencooked
PamFoodRecipes.java:636 gherkinItem toolPot cropCucumber、cropSpiceleaf、foodSalt、foodVinegar
PamFoodRecipes.java:638 gherkinItem toolPot cropCucumber、cropSpiceleaf、foodVinegar
PamFoodRecipes.java:640 gherkinItem toolPot cropCucumber、cropSpiceleaf、dustSalt、foodVinegar
PamFoodRecipes.java:641 gherkinItem toolPot cropCucumber、cropSpiceleaf、foodVinegar、itemSalt
PamFoodRecipes.java:651 steamedspinachItem toolPot cropSpinach、listAllwater
PamFoodRecipes.java:654 appleciderItem toolPot cropApple、listAllsugar
PamFoodRecipes.java:656 batteredsausageItem toolPot foodBatter、foodPorksausage
PamFoodRecipes.java:662 energydrinkItem toolPot foodBubblywater、listAllsugar
PamFoodRecipes.java:663 friedonionsItem toolPot cropOnion、foodOliveoil
PamFoodRecipes.java:664 meatfeastpizzaItem toolPot foodPepperoni、foodPizza、foodPorksausage、listAllbeefcooked
PamFoodRecipes.java:670 pickledonionsItem toolPot cropOnion、foodSalt、foodVinegar
PamFoodRecipes.java:671 pickledonionsItem toolPot cropOnion、dustSalt、foodVinegar
PamFoodRecipes.java:672 pickledonionsItem toolPot cropOnion、foodVinegar、itemSalt
PamFoodRecipes.java:704 dimsumItem toolPot cropRice、cropWaterchestnut、foodDough、listAllmeat、listAllmushroom
PamFoodRecipes.java:714 hushpuppiesItem toolPot cropOnion、foodCornmeal、foodOliveoil、listAllegg
PamFoodRecipes.java:715 kimchiItem toolPot cropCabbage、cropGarlic、cropGinger、cropRadish、cropScallion、cropSesame、foodSalt、listAllspice
PamFoodRecipes.java:723 porklomeinItem toolPot cropCabbage、cropCarrot、cropGarlic、cropOnion、foodPasta、foodSoysauce、listAllpork
PamFoodRecipes.java:727 sesameballItem toolPot cropBean、cropSesame、foodFlour、foodOliveoil、listAllsugar
PamFoodRecipes.java:729 shrimpokrahushpuppiesItem toolPot cropOkra、cropOnion、foodCornmeal、foodOliveoil、foodShrimp、listAllegg
PamFoodRecipes.java:731 sweetpickleItem toolPot cropCucumber、cropSpiceleaf、foodSalt、foodVinegar、listAllsugar
PamFoodRecipes.java:737 coconutcreamItem toolPot cropCoconut
PamFoodRecipes.java:749 mangochutneyItem toolPot cropMango、cropMustard、cropSpiceleaf、foodOliveoil
PamFoodRecipes.java:752 paneerItem toolPot foodLemonaide、foodVinegar、listAllmilk
PamFoodRecipes.java:754 peaandhamsoupItem toolPot cropCarrot、cropCelery、cropOnion、cropPeas、foodBlackpepper、listAllpork
PamFoodRecipes.java:761 potatoandleeksoupItem toolPot cropLeek、cropPotato、cropSpiceleaf、foodBlackpepper、foodStock、listAllheavycream
PamOtherRecipes.java:89 waxItem toolPot —

矿词典(OreDictionary)

本物品注册进以下矿词典名。注意方向:注册进矿词典只代表本物品可被当作这些名字的材料使用,不代表它拥有这些名字对应的其他物品。

矿词典名 注册位置
toolPot PamOtherOreDictionaryRegistry.java:15

源码缺陷

  1. 工具会消耗掉。 ItemPamTool / ItemPamBlockTool 都没有覆写 setContainerItem / getContainerItem / hasContainerItem(全仓库 grep setContainerItem|func_77966_j|func_77965_c = 0 命中)。因此把它放进合成格再取出成品时,工具本身不在返还列表里。
  2. func_77630_h(ItemStack) 被覆写为恒 false(ItemPamTool.java:15-17、ItemPamBlockTool.java:25-27)。本仓库不含 MCP 映射表,无法确定该混淆名的确切语义,但无论如何返回值是常量 false,且它不是容器返还方法。

相关条目

浏览全部模组