跳到正文
烈焰甘蔗Wiki

Cutting Board(砧板)

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

基本信息

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

用途

放置成方块后打开一个 3×3 合成界面,配方来自本 mod 私有的 CraftingManagerPamCuttingBoard,共 51 条无序配方(CraftingManagerPamCuttingBoard.java:27-78)。

作为方块形态

属性 值 来源
可放置方块 BlockRegistry.pamCuttingBoard ItemPamBlockTool.java:22
方块条目 cuttingboard —
GUI ID 2 方块 onBlockActivated 调 openGui(..., 2, x, y, z)(BlockPamCuttingBoard.java:41),GuiHandler 按此 ID 分派
Container 类 ContainerPamCuttingBoard GuiHandler.java:54-55(容器)/ GuiHandler.java:94-95(GUI)
GUI 类 GuiPamCuttingBoard GuiHandler.java:54-55(容器)/ GuiHandler.java:94-95(GUI)
配方管理器 CraftingManagerPamCuttingBoard Container*.java 的 findMatchingRecipe 调用
界面槽位 9 个 3×3 合成格 + 1 个结果格 + 玩家 36 格 ContainerPamCuttingBoard.java:21,35-48;func_75134_a 同样逐格返还
容量 不是容器物品——它自己不存储任何物品;所谓「容量」只指界面上 3×3 = 9 个合成格 ItemPamBlockTool 无 NBT 字段(ItemPamBlockTool.java:18-23 只有 spawnID)
窗口关闭校验 func_75145_c 校验原坐标方块是否仍是 BlockRegistry.pamCuttingBoard ContainerPamCuttingBoard.java

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

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

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

作为材料被使用

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

来源 产物 本物品命中的矿词典名 同一配方中的其它矿词典材料
PamFoodFishingCraftRecipes.java:18 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:19 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:25 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:26 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:32 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:33 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:39 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:40 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:46 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:47 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:53 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:54 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:60 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:61 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:67 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:68 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:74 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:75 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:81 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:82 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodFishingCraftRecipes.java:88 sushiItem toolCuttingboard cropRice
PamFoodFishingCraftRecipes.java:89 fishlettucewrapItem toolCuttingboard cropLettuce
PamFoodRecipes.java:137 potatosaladItem toolCuttingboard foodMayo
PamFoodRecipes.java:165 eggsaladItem toolCuttingboard foodBoiledegg、foodMayo
PamFoodRecipes.java:187 fruitsaladItem toolCuttingboard listAllfruit
PamFoodRecipes.java:194 springsaladItem toolCuttingboard cropCarrot、cropLettuce
PamFoodRecipes.java:195 springsaladItem toolCuttingboard cropLettuce、cropOnion
PamFoodRecipes.java:196 springsaladItem toolCuttingboard cropLettuce、cropRadish
PamFoodRecipes.java:197 springsaladItem toolCuttingboard cropCucumber、cropLettuce
PamFoodRecipes.java:198 springsaladItem toolCuttingboard cropBellpepper、cropLettuce
PamFoodRecipes.java:199 springsaladItem toolCuttingboard cropLettuce、cropSpiceleaf
PamFoodRecipes.java:200 springsaladItem toolCuttingboard cropLettuce、cropZucchini
PamFoodRecipes.java:201 springsaladItem toolCuttingboard cropASparagus、cropLettuce
PamFoodRecipes.java:202 springsaladItem toolCuttingboard cropBroccoli、cropLettuce
PamFoodRecipes.java:203 springsaladItem toolCuttingboard cropLettuce、cropPeas
PamFoodRecipes.java:204 springsaladItem toolCuttingboard cropLettuce、cropTomato
PamFoodRecipes.java:205 springsaladItem toolCuttingboard cropLettuce、cropSunflower
PamFoodRecipes.java:206 springsaladItem toolCuttingboard cropLettuce、cropWalnut
PamFoodRecipes.java:207 springsaladItem toolCuttingboard cropCauliflower、cropLettuce
PamFoodRecipes.java:208 springsaladItem toolCuttingboard cropLettuce、cropRhubarb
PamFoodRecipes.java:209 porklettucewrapItem toolCuttingboard cropLettuce、listAllporkcooked
PamFoodRecipes.java:210 fishlettucewrapItem toolCuttingboard cropLettuce、listAllfishcooked
PamFoodRecipes.java:211 bltItem toolCuttingboard cropLettuce、cropTomato、foodToast、listAllporkcooked
PamFoodRecipes.java:227 nachoesItem toolCuttingboard foodCheese、foodTortilla
PamFoodRecipes.java:228 tacoItem toolCuttingboard cropLettuce、foodCheese、foodTortilla、listAllbeefcooked
PamFoodRecipes.java:229 fishtacoItem toolCuttingboard cropLettuce、foodCheese、foodTortilla、listAllfishcooked
PamFoodRecipes.java:241 pbandjItem toolCuttingboard foodBread、foodGrapejelly、listAllnutbutter
PamFoodRecipes.java:251 cucumbersaladItem toolCuttingboard cropCucumber、foodSpringsalad
PamFoodRecipes.java:253 vegetarianlettucewrapItem toolCuttingboard cropCucumber、cropLettuce、cropTomato
PamFoodRecipes.java:277 grilledskewersItem toolCuttingboard cropBellpepper、cropCarrot、cropOnion
PamFoodRecipes.java:278 supremepizzaItem toolCuttingboard cropBellpepper、cropOnion、cropSpiceleaf、foodPizza
PamFoodRecipes.java:380 guacamoleItem toolCuttingboard cropAvocado、cropChilipepper、cropOnion、cropSpiceleaf、cropTomato
PamFoodRecipes.java:382 avocadoburritoItem toolCuttingboard cropAvocado、foodCheese、foodTortilla、listAllchickencooked
PamFoodRecipes.java:383 avocadoburritoItem toolCuttingboard cropAvocado、foodCheese、foodTortilla、listAllporkcooked
PamFoodRecipes.java:440 footlongItem toolCuttingboard cropLettuce、cropTomato、foodBread、foodMayo、listAllbeefcooked
PamFoodRecipes.java:441 footlongItem toolCuttingboard cropLettuce、cropTomato、foodBread、foodMayo、listAllchickencooked
PamFoodRecipes.java:442 footlongItem toolCuttingboard cropLettuce、cropTomato、foodBread、foodMayo、listAllporkcooked
PamFoodRecipes.java:472 sunflowerbroccolisaladItem toolCuttingboard cropBroccoli、cropSunflower、foodMayo、listAllporkcooked、listAllsugar
PamFoodRecipes.java:490 mixedsaladItem toolCuttingboard foodSaladdressing、listAllveggie
PamFoodRecipes.java:499 sushiItem toolCuttingboard cropRice、cropSeaweed、listAllfishraw
PamFoodRecipes.java:518 applejellysandwichItem toolCuttingboard foodApplejelly、foodBread、listAllnutbutter
PamFoodRecipes.java:519 blackberryjellysandwichItem toolCuttingboard foodBlackberryjelly、foodBread、listAllnutbutter
PamFoodRecipes.java:520 blueberryjellysandwichItem toolCuttingboard foodBlueberryjelly、foodBread、listAllnutbutter
PamFoodRecipes.java:521 cherryjellysandwichItem toolCuttingboard foodBread、foodCherryjelly、listAllnutbutter
PamFoodRecipes.java:522 cranberryjellysandwichItem toolCuttingboard foodBread、foodCranberryjelly、listAllnutbutter
PamFoodRecipes.java:523 kiwijellysandwichItem toolCuttingboard foodBread、foodKiwijelly、listAllnutbutter
PamFoodRecipes.java:524 lemonjellysandwichItem toolCuttingboard foodBread、foodLemonjelly、listAllnutbutter
PamFoodRecipes.java:525 limejellysandwichItem toolCuttingboard foodBread、foodLimejelly、listAllnutbutter
PamFoodRecipes.java:526 mangojellysandwichItem toolCuttingboard foodBread、foodMangojelly、listAllnutbutter
PamFoodRecipes.java:527 orangejellysandwichItem toolCuttingboard foodBread、foodOrangejelly、listAllnutbutter
PamFoodRecipes.java:528 papayajellysandwichItem toolCuttingboard foodBread、foodPapayajelly、listAllnutbutter
PamFoodRecipes.java:529 peachjellysandwichItem toolCuttingboard foodBread、foodPeachjelly、listAllnutbutter
PamFoodRecipes.java:530 pomegranatejellysandwichItem toolCuttingboard foodBread、foodPomegranatejelly、listAllnutbutter
PamFoodRecipes.java:531 raspberryjellysandwichItem toolCuttingboard foodBread、foodRaspberryjelly、listAllnutbutter
PamFoodRecipes.java:532 starfruitjellysandwichItem toolCuttingboard foodBread、foodStarfruitjelly、listAllnutbutter
PamFoodRecipes.java:533 strawberryjellysandwichItem toolCuttingboard foodBread、foodStrawberryjelly、listAllnutbutter
PamFoodRecipes.java:534 watermelonjellysandwichItem toolCuttingboard foodBread、foodWatermelonjelly、listAllnutbutter
PamFoodRecipes.java:547 ediblerootItem toolCuttingboard cropSpiceleaf
PamFoodRecipes.java:573 apricotjellysandwichItem toolCuttingboard foodApricotjelly、foodBread、listAllnutbutter
PamFoodRecipes.java:577 figjellysandwichItem toolCuttingboard foodBread、foodFigjelly、listAllnutbutter
PamFoodRecipes.java:583 grapefruitjellysandwichItem toolCuttingboard foodBread、foodGrapefruitjelly、listAllnutbutter
PamFoodRecipes.java:587 citrussaladItem toolCuttingboard cropLettuce、listAllcitrus
PamFoodRecipes.java:594 persimmonjellysandwichItem toolCuttingboard foodBread、foodPersimmonjelly、listAllnutbutter
PamFoodRecipes.java:616 californiarollItem toolCuttingboard cropAvocado、cropCucumber、cropRice、cropSeaweed、listAllfishraw
PamFoodRecipes.java:617 futomakiItem toolCuttingboard cropCucumber、cropGinger、cropRadish、cropRice、cropSeaweed、cropWintersquash、foodBoiledegg
PamFoodRecipes.java:618 beansontoastItem toolCuttingboard foodBakedbeans、foodButter、foodToast
PamFoodRecipes.java:633 beetburgerItem toolCuttingboard cropBeet、cropPineapple、foodFriedegg、foodToast、listAllbeefcooked、listAllporkcooked
PamFoodRecipes.java:642 mcpamItem toolCuttingboard cropLettuce、cropOnion、foodPickles、foodSaladdressing、foodToast、listAllbeefcooked
PamFoodRecipes.java:643 mcpamItem toolCuttingboard cropLettuce、cropOnion、foodGherkin、foodSaladdressing、foodToast、listAllbeefcooked
PamFoodRecipes.java:647 lambkebabItem toolCuttingboard cropBellpepper、cropOnion、listAllmuttoncooked
PamFoodRecipes.java:652 vegemiteontoastItem toolCuttingboard foodToast、foodVegemite
PamFoodRecipes.java:658 chorizoItem toolCuttingboard cropGarlic、foodSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:659 chorizoItem toolCuttingboard cropGarlic、dustSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:660 chorizoItem toolCuttingboard cropGarlic、itemSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:666 onionhamburgerItem toolCuttingboard foodFriedonions、foodHamburger
PamFoodRecipes.java:667 pepperoniItem toolCuttingboard cropBellpepper、foodSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:668 pepperoniItem toolCuttingboard cropBellpepper、dustSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:669 pepperoniItem toolCuttingboard cropBellpepper、itemSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:673 porksausageItem toolCuttingboard foodSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:674 porksausageItem toolCuttingboard dustSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:675 porksausageItem toolCuttingboard itemSalt、listAllporkcooked、listAllspice
PamFoodRecipes.java:679 suaderoItem toolCuttingboard foodOliveoil、listAllbeefcooked
PamFoodRecipes.java:680 randomtacoItem toolCuttingboard cropAvocado、cropOnion、foodCheese、foodLimejuice、foodTortilla、listAllbeefcooked、listAllspice
PamFoodRecipes.java:685 coleslawburgerItem toolCuttingboard foodColeslaw、foodHamburger
PamFoodRecipes.java:689 bbqpulledporkItem toolCuttingboard cropSpiceleaf、cropTomato、foodToast、listAllporkcooked
PamFoodRecipes.java:707 gooseberryjellysandwichItem toolCuttingboard foodBread、foodGooseberryjelly、listAllnutbutter
PamFoodRecipes.java:713 hamsweetpicklesandwichItem toolCuttingboard foodBread、foodMayo、foodSweetpickle、listAllporkcooked
PamFoodRecipes.java:722 ploughmanslunchItem toolCuttingboard cropApple、cropOnion、foodBoiledegg、foodBread、foodCheese、foodSweetpickle、listAllporkcooked
PamFoodRecipes.java:725 sausageItem toolCuttingboard foodSalt、listAllmeat
PamFoodRecipes.java:726 sausagerollItem toolCuttingboard foodDough、foodSausage、listAllegg
PamFoodRecipes.java:742 deluxechickencurryItem toolCuttingboard cropRice、foodChickencurry、foodMangochutney、foodNaan
PamFoodRecipes.java:746 honeysandwichItem toolCuttingboard foodBread、foodHoneydrop、listAllnutbutter
PamFoodRecipes.java:747 honeysandwichItem toolCuttingboard foodBread、listAllnutbutter
PamFoodRecipes.java:756 pearjellysandwichItem toolCuttingboard foodBread、foodPearjelly、listAllnutbutter
PamFoodRecipes.java:759 plumjellysandwichItem toolCuttingboard foodBread、foodPlumjelly、listAllnutbutter
PamFoodRecipes.java:763 tunapotatoItem toolCuttingboard cropCorn、foodButteredpotato、listAllfishcooked

矿词典(OreDictionary)

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

矿词典名 注册位置
toolCuttingboard PamOtherOreDictionaryRegistry.java:19

源码缺陷

  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,且它不是容器返还方法。

相关条目

浏览全部模组