Jump to content

Removing Recipes: What on Earth is up with the Stone Hoe?


Recommended Posts

Posted

So in my own kerjiggering of recipes, I want to replace the recipes for the stone tools.

Axe, pick, shovel, gone.

 

Hoe...apparently does not have a recipe in the CraftingManager.  In part of debugging why the hell it isn't being removed, I printed out every damn entry:

 

 

This is something else
Dye recipe
This is something else
Umm? class net.minecraft.item.crafting.RecipeFireworks
2: net.minecraft.item.ItemBlock@13a6832 -- tile.blockLapis
3: net.minecraft.item.ItemBlock@18ecd21 -- tile.blockCoal
4: net.minecraft.item.ItemBlock@181bd26 -- tile.hayBlock
5: net.minecraft.item.Item@9173dd -- item.ingotGold
6: net.minecraft.item.ItemBlock@4113f8 -- tile.melon
7: net.minecraft.item.ItemBlock@1e61638 -- tile.enderChest
8: net.minecraft.item.ItemBlock@168c6e1 -- tile.beacon
9: net.minecraft.item.ItemArmor@162f2fe -- item.chestplateCloth
10: net.minecraft.item.ItemArmor@13f2442 -- item.leggingsCloth
11: net.minecraft.item.ItemArmor@1dec1a -- item.chestplateChain
12: net.minecraft.item.ItemArmor@77b490 -- item.leggingsChain
13: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
This is something else
Umm? class net.minecraft.item.crafting.RecipeBookCloning
This is something else
Umm? class net.minecraft.item.crafting.RecipesMapCloning
16: net.minecraft.item.ItemEmptyMap@f4eee4 -- item.emptyMap
17: net.minecraft.item.ItemBlock@11d5545 -- tile.tnt
18: net.minecraft.item.ItemReed@5671b5 -- item.cake
19: net.minecraft.item.ItemBlock@2f4f19 -- tile.stairsWood
20: net.minecraft.item.ItemBlock@3abccc -- tile.stairsWoodBirch
21: net.minecraft.item.ItemBlock@1dc4f68 -- tile.stairsWoodSpruce
22: net.minecraft.item.ItemBlock@a92d70 -- tile.stairsWoodJungle
23: net.minecraft.item.ItemBlock@1f993d4 -- tile.stairsWoodAcacia
24: net.minecraft.item.ItemBlock@172975c -- tile.stairsWoodDarkOak
25: net.minecraft.item.ItemBlock@e16b23 -- tile.stairsStone
26: net.minecraft.item.ItemBlock@eb4627 -- tile.stairsBrick
27: net.minecraft.item.ItemBlock@1808228 -- tile.stairsStoneBrickSmooth
28: net.minecraft.item.ItemBlock@e63954 -- tile.stairsNetherBrick
29: net.minecraft.item.ItemBlock@55163c -- tile.stairsSandStone
30: net.minecraft.item.ItemBlock@66b0df -- tile.stairsQuartz
31: net.minecraft.item.ItemAppleGold@891d67 -- item.appleGold
32: net.minecraft.item.ItemFood@6ff4ab -- item.carrotGolden
33: net.minecraft.item.Item@4f16a8 -- item.speckledMelon
34: net.minecraft.item.ItemEmptyMap@f4eee4 -- item.emptyMap
35: net.minecraft.item.ItemBlock@4abe67 -- tile.daylightDetector
36: net.minecraft.item.ItemBlock@1e8f616 -- tile.thinGlass
37: net.minecraft.item.ItemArmor@16775bd -- item.helmetCloth
38: net.minecraft.item.ItemArmor@6573f3 -- item.bootsCloth
39: net.minecraft.item.ItemArmor@9f8a03 -- item.helmetChain
40: net.minecraft.item.ItemArmor@ef6368 -- item.bootsChain
41: net.minecraft.item.ItemMultiTexture@70ef09 -- tile.cobbleWall
42: net.minecraft.item.ItemMultiTexture@70ef09 -- tile.cobbleWall
43: net.minecraft.item.ItemBlock@7f7d2b -- tile.netherFence
44: net.minecraft.item.ItemGlassBottle@13abb73 -- item.glassBottle
45: net.minecraft.item.ItemReed@1c22eaf -- item.flowerPot
46: net.minecraft.item.ItemMultiTexture@61b96b -- tile.sandStone
47: net.minecraft.item.ItemMultiTexture@61b96b -- tile.sandStone
48: net.minecraft.item.ItemMultiTexture@3af348 -- tile.stonebricksmooth
49: net.minecraft.item.ItemBlock@16d21f1 -- tile.netherBrick
50: net.minecraft.item.ItemBlock@1ea9d63 -- tile.snow
51: net.minecraft.item.ItemBlock@bcd540 -- tile.clay
52: net.minecraft.item.ItemBlock@9a0c9d -- tile.brick
53: net.minecraft.item.ItemMultiTexture@f26d5f -- tile.quartzBlock
54: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
55: net.minecraft.item.ItemCarrotOnAStick@cb3389 -- item.carrotOnAStick
56: net.minecraft.item.ItemFood@1bd7498 -- item.cookie
57: net.minecraft.item.Item@ff2b36 -- item.paper
58: net.minecraft.item.ItemSnow@6abc19 -- tile.snow
59: net.minecraft.item.ItemSlab@70e68f -- tile.stoneSlab
60: net.minecraft.item.ItemSlab@70e68f -- tile.stoneSlab
61: net.minecraft.item.ItemSlab@70e68f -- tile.stoneSlab
62: net.minecraft.item.ItemSlab@70e68f -- tile.stoneSlab
63: net.minecraft.item.ItemSlab@70e68f -- tile.stoneSlab
64: net.minecraft.item.ItemSlab@1cb943b -- tile.woodSlab
65: net.minecraft.item.ItemSlab@1cb943b -- tile.woodSlab
66: net.minecraft.item.ItemSlab@1cb943b -- tile.woodSlab
67: net.minecraft.item.ItemSlab@1cb943b -- tile.woodSlab
68: net.minecraft.item.ItemSlab@1cb943b -- tile.woodSlab
69: net.minecraft.item.ItemFood@b32c3e -- item.bread
70: net.minecraft.item.ItemBlock@25fbfa -- tile.chestTrap
71: net.minecraft.item.ItemMultiTexture@61b96b -- tile.sandStone
72: net.minecraft.item.ItemMultiTexture@f26d5f -- tile.quartzBlock
73: net.minecraft.item.ItemMultiTexture@f26d5f -- tile.quartzBlock
74: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
75: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
76: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
77: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
78: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
79: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
80: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
81: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
82: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
83: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
84: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
85: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
86: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
87: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
88: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
89: net.minecraft.item.ItemCloth@236fc7 -- tile.woolCarpet
90: net.minecraft.item.ItemBlock@1db404e -- tile.litpumpkin
91: net.minecraft.item.ItemMinecart@4ff48e -- item.minecartChest
92: net.minecraft.item.ItemMinecart@140a941 -- item.minecartFurnace
93: net.minecraft.item.ItemMinecart@b210c9 -- item.minecartTnt
94: net.minecraft.item.ItemMinecart@6c33df -- item.minecartHopper
95: net.minecraft.item.Item@9173dd -- item.ingotGold
96: net.minecraft.item.Item@1c702ee -- item.ingotIron
97: net.minecraft.item.Item@98b5ca -- item.diamond
98: net.minecraft.item.Item@1b57669 -- item.emerald
99: net.minecraft.item.ItemDye@172ada -- item.dyePowder
100: net.minecraft.item.ItemRedstone@1e476fc -- item.redstone
101: net.minecraft.item.ItemCoal@d485be -- item.coal
102: net.minecraft.item.Item@139a1e2 -- item.wheat
103: net.minecraft.item.ItemSeeds@1354259 -- item.seeds_melon
104: net.minecraft.item.ItemSeeds@6c8f51 -- item.seeds_pumpkin
105: net.minecraft.item.Item@19a68cd -- item.sugar
106: net.minecraft.item.ItemMultiTexture@11ecc13 -- tile.wood
107: net.minecraft.item.ItemMultiTexture@11ecc13 -- tile.wood
108: net.minecraft.item.ItemMultiTexture@11ecc13 -- tile.wood
109: net.minecraft.item.ItemMultiTexture@11ecc13 -- tile.wood
110: net.minecraft.item.ItemMultiTexture@11ecc13 -- tile.wood
111: net.minecraft.item.ItemMultiTexture@11ecc13 -- tile.wood
112: net.minecraft.item.ItemBook@978bae -- item.book
113: net.minecraft.item.ItemSoup@11856ad -- item.mushroomStew
114: net.minecraft.item.ItemFood@1e7e20e -- item.pumpkinPie
115: net.minecraft.item.Item@1949d4b -- item.fermentedSpiderEye
116: net.minecraft.item.ItemFireball@1c31063 -- item.fireball
117: net.minecraft.item.ItemFireball@1c31063 -- item.fireball
118: net.minecraft.item.ItemEnderEye@1cb45bb -- item.eyeOfEnder
119: net.minecraft.item.Item@1e2b619 -- item.blazePowder
120: net.minecraft.item.ItemDye@172ada -- item.dyePowder
121: net.minecraft.item.ItemDye@172ada -- item.dyePowder
122: net.minecraft.item.ItemDye@172ada -- item.dyePowder
123: net.minecraft.item.ItemDye@172ada -- item.dyePowder
124: net.minecraft.item.ItemDye@172ada -- item.dyePowder
125: net.minecraft.item.ItemDye@172ada -- item.dyePowder
126: net.minecraft.item.ItemDye@172ada -- item.dyePowder
127: net.minecraft.item.ItemDye@172ada -- item.dyePowder
128: net.minecraft.item.ItemDye@172ada -- item.dyePowder
129: net.minecraft.item.ItemDye@172ada -- item.dyePowder
130: net.minecraft.item.ItemDye@172ada -- item.dyePowder
131: net.minecraft.item.ItemDye@172ada -- item.dyePowder
132: net.minecraft.item.ItemDye@172ada -- item.dyePowder
133: net.minecraft.item.ItemDye@172ada -- item.dyePowder
134: net.minecraft.item.ItemDye@172ada -- item.dyePowder
135: net.minecraft.item.ItemPickaxe@187d7ee -- item.pickaxeWood
136: net.minecraft.item.ItemPickaxe@ab8bf6 -- item.pickaxeStone
137: net.minecraft.item.ItemPickaxe@1b39b45 -- item.pickaxeDiamond
138: net.minecraft.item.ItemPickaxe@5232a8 -- item.pickaxeGold
139: net.minecraft.item.ItemBow@179ee5 -- item.bow
140: net.minecraft.item.ItemBlock@d7313b -- tile.blockGold
141: net.minecraft.item.ItemBlock@861995 -- tile.blockIron
142: net.minecraft.item.ItemBlock@28a987 -- tile.blockDiamond
143: net.minecraft.item.ItemBlock@26ef93 -- tile.blockEmerald
144: net.minecraft.item.ItemBlock@6df2a4 -- tile.blockRedstone
145: net.minecraft.item.ItemBlock@1b4efef -- tile.chest
146: net.minecraft.item.ItemBlock@7e0d7 -- tile.furnace
147: net.minecraft.item.ItemBlock@1e1546a -- tile.redstoneLight
148: net.minecraft.item.ItemArmor@1ad1590 -- item.chestplateIron
149: net.minecraft.item.ItemArmor@62bc77 -- item.leggingsIron
150: net.minecraft.item.ItemArmor@d6a33f -- item.chestplateDiamond
151: net.minecraft.item.ItemArmor@177afca -- item.leggingsDiamond
152: net.minecraft.item.ItemArmor@1bdcb36 -- item.chestplateGold
153: net.minecraft.item.ItemArmor@1685995 -- item.leggingsGold
154: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
155: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
156: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
157: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
158: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
159: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
160: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
161: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
162: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
163: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
164: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
165: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
166: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
167: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
168: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
169: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
170: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
171: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
172: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
173: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
174: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
175: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
176: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
177: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
178: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
179: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
180: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
181: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
182: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
183: net.minecraft.item.ItemCloth@ed9059 -- tile.stainedGlass
184: net.minecraft.item.ItemCloth@866ce2 -- tile.clayHardenedStained
185: net.minecraft.item.ItemBlock@11d07cd -- tile.jukebox
186: net.minecraft.item.ItemLead@dcb136 -- item.leash
187: net.minecraft.item.ItemBlock@1c5a59a -- tile.musicBlock
188: net.minecraft.item.ItemBlock@3d72f3 -- tile.bookshelf
189: net.minecraft.item.ItemBlock@5d3f47 -- tile.ladder
190: net.minecraft.item.ItemSign@106654b -- item.sign
191: net.minecraft.item.ItemBlock@a7f1b1 -- tile.rail
192: net.minecraft.item.ItemBlock@c94504 -- tile.goldenRail
193: net.minecraft.item.ItemBlock@3243ec -- tile.activatorRail
194: net.minecraft.item.ItemBlock@1d4513c -- tile.detectorRail
195: net.minecraft.item.ItemReed@159808a -- item.cauldron
196: net.minecraft.item.ItemFishingRod@36babd -- item.fishingRod
197: net.minecraft.item.ItemHangingEntity@2e8c5c -- item.painting
198: net.minecraft.item.ItemHangingEntity@710411 -- item.frame
199: net.minecraft.item.ItemAppleGold@891d67 -- item.appleGold
200: net.minecraft.item.ItemReed@1697e2c -- item.comparator
201: net.minecraft.item.Item@11e01b1 -- item.clock
202: net.minecraft.item.Item@53ee53 -- item.compass
203: net.minecraft.item.ItemBlock@1c870bd -- tile.dispenser
204: net.minecraft.item.ItemBlock@162d662 -- tile.dropper
205: net.minecraft.item.ItemPiston@e9895d -- tile.pistonBase
206: net.minecraft.item.ItemBlock@1cf893c -- tile.enchantmentTable
207: net.minecraft.item.ItemAnvilBlock@d7472e -- tile.anvil
208: net.minecraft.item.ItemBlock@c9476f -- tile.hopper
209: net.minecraft.item.ItemAxe@1718583 -- item.hatchetWood
210: net.minecraft.item.ItemHoe@dace3b -- item.hoeWood
211: net.minecraft.item.ItemAxe@71d335 -- item.hatchetStone
212: net.minecraft.item.ItemAxe@871b47 -- item.hatchetIron
213: net.minecraft.item.ItemHoe@826bd1 -- item.hoeIron
214: net.minecraft.item.ItemAxe@96f8ea -- item.hatchetDiamond
215: net.minecraft.item.ItemHoe@749cf8 -- item.hoeDiamond
216: net.minecraft.item.ItemAxe@7be3f8 -- item.hatchetGold
217: net.minecraft.item.ItemHoe@1ed6a53 -- item.hoeGold
218: net.minecraft.item.ItemBlock@9fda1a -- tile.fenceIron
219: net.minecraft.item.ItemArmor@677ac4 -- item.helmetIron
220: net.minecraft.item.ItemArmor@436559 -- item.bootsIron
221: net.minecraft.item.ItemArmor@b2dd2c -- item.helmetDiamond
222: net.minecraft.item.ItemArmor@b63513 -- item.bootsDiamond
223: net.minecraft.item.ItemArmor@56832c -- item.helmetGold
224: net.minecraft.item.ItemArmor@1d16ded -- item.bootsGold
225: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
226: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
227: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
228: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
229: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
230: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
231: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
232: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
233: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
234: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
235: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
236: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
237: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
238: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
239: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
240: net.minecraft.item.ItemCloth@1baa8a1 -- tile.thinStainedGlass
241: net.minecraft.item.ItemBlock@fb4d74 -- tile.fence
242: net.minecraft.item.ItemBlock@455eba -- tile.fenceGate
243: net.minecraft.item.ItemDoor@44d839 -- item.doorWood
244: net.minecraft.item.ItemBlock@1b317f5 -- tile.trapdoor
245: net.minecraft.item.ItemDoor@b3f8f5 -- item.doorIron
246: net.minecraft.item.Item@19feb0d -- item.bowl
247: net.minecraft.item.ItemMinecart@1243f31 -- item.minecart
248: net.minecraft.item.ItemReed@19ea0f6 -- item.brewingStand
249: net.minecraft.item.ItemBoat@18b9a3f -- item.boat
250: net.minecraft.item.ItemBucket@1b6e314 -- item.bucket
251: net.minecraft.item.ItemReed@1fb562 -- item.diode
252: net.minecraft.item.ItemBed@7ba739 -- item.bed
253: net.minecraft.item.ItemShears@18f2ebc -- item.shears
254: net.minecraft.item.ItemBlock@1252c78 -- tile.workbench
255: net.minecraft.item.ItemBlock@1d2102a -- tile.lightgem
256: net.minecraft.item.ItemSpade@1d9b342 -- item.shovelWood
257: net.minecraft.item.ItemSpade@1a79aea -- item.shovelStone
258: net.minecraft.item.ItemSpade@179972b -- item.shovelDiamond
259: net.minecraft.item.ItemSpade@118e8a7 -- item.shovelGold
260: net.minecraft.item.ItemSword@4819e -- item.swordWood
261: net.minecraft.item.ItemSword@1f48a5b -- item.swordStone
262: net.minecraft.item.ItemSword@1bf1522 -- item.swordIron
263: net.minecraft.item.ItemSword@e14502 -- item.swordDiamond
264: net.minecraft.item.ItemSword@e2a279 -- item.swordGold
265: net.minecraft.item.Item@c0e0f3 -- item.arrow
266: net.minecraft.item.ItemSlab@70e68f -- tile.stoneSlab
267: net.minecraft.item.ItemSlab@70e68f -- tile.stoneSlab
268: net.minecraft.item.ItemSlab@1cb943b -- tile.woodSlab
269: net.minecraft.item.ItemBlock@a94e09 -- tile.tripWireSource
270: net.minecraft.item.Item@1afff44 -- item.stick
271: net.minecraft.item.ItemBlock@8f54cb -- tile.torch
272: net.minecraft.item.ItemBlock@8f54cb -- tile.torch
273: net.minecraft.item.ItemBlock@14107e9 -- tile.lever
274: net.minecraft.item.ItemBlock@97272 -- tile.notGate
275: net.minecraft.item.ItemBlock@bde86b -- tile.pressurePlate
276: net.minecraft.item.ItemBlock@18a872d -- tile.pressurePlate
277: net.minecraft.item.ItemBlock@ca3955 -- tile.weightedPlate_heavy
278: net.minecraft.item.ItemBlock@1ffff6d -- tile.weightedPlate_light
279: net.minecraft.item.ItemPiston@1f42165 -- tile.pistonStickyBase
280: net.minecraft.item.Item@513f84 -- item.goldNugget
281: net.minecraft.item.ItemBlock@45ed31 -- tile.button
282: net.minecraft.item.ItemBlock@1e5ea01 -- tile.button
283: net.minecraft.item.ItemDye@172ada -- item.dyePowder
284: net.minecraft.item.ItemDye@172ada -- item.dyePowder
285: net.minecraft.item.ItemDye@172ada -- item.dyePowder
286: net.minecraft.item.ItemWritableBook@16cc759 -- item.writingBook
287: net.minecraft.item.Item@121275a -- item.magmaCream
288: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
289: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
290: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
291: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
292: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
293: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
294: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
295: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
296: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
297: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
298: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
299: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
300: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
301: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
302: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
303: net.minecraft.item.ItemCloth@1dec174 -- tile.cloth
304: net.minecraft.item.ItemDye@172ada -- item.dyePowder
305: net.minecraft.item.ItemDye@172ada -- item.dyePowder
306: net.minecraft.item.ItemDye@172ada -- item.dyePowder
307: net.minecraft.item.ItemDye@172ada -- item.dyePowder
308: net.minecraft.item.ItemDye@172ada -- item.dyePowder
309: net.minecraft.item.ItemDye@172ada -- item.dyePowder
310: net.minecraft.item.ItemDye@172ada -- item.dyePowder
311: net.minecraft.item.ItemDye@172ada -- item.dyePowder
312: net.minecraft.item.ItemDye@172ada -- item.dyePowder
313: net.minecraft.item.ItemFlintAndSteel@87cd8e -- item.flintAndSteel
314: net.minecraft.item.Item@98b5ca -- item.diamond
315: net.minecraft.item.Item@1c702ee -- item.ingotIron
316: net.minecraft.item.Item@1536a2 -- item.ironNugget
317: net.minecraft.item.ItemBlock@9fda1a -- tile.fenceIron
318: com.draco18s.ores.item.ItemOreDustLarge@91f79a -- item.null
319: com.draco18s.ores.item.ItemOreDustLarge@91f79a -- item.null
320: com.draco18s.ores.item.ItemOreDustLarge@91f79a -- item.null
321: net.minecraft.item.ItemBlock@15125e8 -- tile.Sluice
322: net.minecraft.item.ItemBlock@13a3fce -- tile.Millstone
323: net.minecraft.item.ItemBlock@4999c -- tile.Sifter
324: net.minecraft.item.ItemBlock@1498c10 -- tile.Wind Vane
325: net.minecraft.item.ItemBlock@ee8b18 -- tile.Axel
326: com.draco18s.ores.item.ItemDiamondStudPickaxe@4525aa -- item.diamond_stud_pickaxe
327: com.draco18s.ores.item.ItemDiamondStudAxe@1abf474 -- item.diamond_stud_axe
328: com.draco18s.ores.item.ItemDiamondStudShovel@1c33d1d -- item.diamond_stud_shovel
329: com.draco18s.ores.item.ItemDiamondStudHoe@3e2c21 -- item.diamond_stud_hoe
330: net.minecraft.item.ItemFood@1bd7498 -- item.cookie
331: net.minecraft.item.ItemFood@b32c3e -- item.bread
332: net.minecraft.item.ItemReed@5671b5 -- item.cake
Total removed: 3

 

 

210: wood hoe

213: iron hoe

215: diamond hoe

217: gold hoe

 

No stone hoe.

 

Code:

 

 

		ArrayList list = (ArrayList) CraftingManager.getInstance().getRecipeList();
	IRecipe recipe;
	int recipesFound = 0;
	for(int i=0; i<list.size() /*&& recipesFound < 4*/; i++) {
		Object o = list.get(i);
		if(o instanceof IRecipe) {
			recipe = (IRecipe) o;
			//System.out.println(i + ": " + recipe);
			//System.out.println(i + ": " + recipe.getRecipeOutput());
			if(recipe.getRecipeOutput() != null) {
				//System.out.println(i + ": " + recipe.getRecipeOutput().getItem());
				System.out.println(i + ": " + recipe.getRecipeOutput().getItem() + " -- " + recipe.getRecipeOutput().getItem().getUnlocalizedName());
				if(recipe.getRecipeOutput().getItem() == Items.stone_pickaxe) {
					list.remove(recipe);
					++recipesFound;
				}
				if(recipe.getRecipeOutput().getItem() == Items.stone_axe) {
					list.remove(recipe);
					++recipesFound;
				}
				if(recipe.getRecipeOutput().getItem() == Items.stone_hoe) {
					list.remove(recipe);
					++recipesFound;
				}
				if(recipe.getRecipeOutput().getItem() == Items.stone_shovel) {
					list.remove(recipe);
					++recipesFound;
				}
			}
			else {
				System.out.println("This is something else");
				if(o instanceof ShapedRecipes) {
					ItemStack[] ii = ((ShapedRecipes)recipe).recipeItems;
					for(int j=0; j < ii.length; j++) {
						System.out.println("j: " + ii[j].getItem().getUnlocalizedName());
					}
				}
				else if(o instanceof ShapelessRecipes) {
					List ii = ((ShapelessRecipes)recipe).recipeItems;
					for(int j=0; j < ii.size(); j++) {
						System.out.println("jj: " + ((ItemStack) ii.get(j)).getItem().getUnlocalizedName());
					}
				}
				else if(o instanceof RecipesArmorDyes) {
					System.out.println("Dye recipe");
				}
				else {
					System.out.println("Umm? " + o.getClass());
				}
			}
		}
	}
	System.out.println("Total removed: " + recipesFound);

 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Turns out I'm an idiot.  Iterating over an array in the positive direction and removing elements causes everything to shift downwards.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I'm not familiar enough with iterators to use them over other methods.  I understand them, but I'm not comfortable.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

[nobbc]for (Iterator<T> it = collection.iterator(); it.hasNext() {
    T elem = it.next();
    // do stuff
    if (<condition>) {
       it.remove(); // removes elem from collection
    }
}[/nobbc]

 

Not hard ;)

 

Its not about hardness, its about familiarity.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Not sure I follow, but ok... :D

 

When I have to use an Iterator (for looping through the list of keys in a HashMap, for example) I still have to copy a known-good chunk of code and modify it.  I've never used Iterators outside of Java (and I only do Java when modding Minecraft) so the still feel unwieldy and I'm more apt to fall back on "loops I know."

 

I'd have caught this error myself sooner if it hadn't been after midnight and I wasn't still sick and I wasn't as overworked as I am: I've had to do stuff like this in ActionScript, Javascript, and Unity all the time and I normally iterate over arrays backwards (not just for the performance gain of only having to check the length/size once, but to avoid this exact issue).

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

is not implemented in the languages you use normally one way or the other. I mean... even PHP has that. PHP!

 

They do, but the syntax is different for all of them.  And because I switch languages frequently, that one's never stuck. :\

 

(I have, quite literally, had to code in AS3, Javascript, and Unity C# all in one day.  And then figure out WTF Apple did that caused a working iOS application to no longer install, quickly followed up with trying to debug an AJAX problem we can't replicate in-house because we don't have iOS 8.0.1 and the client swears up down left and right that they're on 8.1).

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.