UncraftSMPの管理
Revision | a484722b57fdeec38e1bdb92b08d33820a337569 (tree) |
---|---|
Time | 2012-12-19 17:05:45 |
Author | inaka <inaka@tcrs...> |
Commiter | inaka |
4.8リリース!
@@ -0,0 +1,4 @@ | ||
1 | +"C:\Program Files\Java\jdk1.7.0_09\bin\jar.exe" cvf UncraftSMPuniversal4.6.jar mod_Uncraft_SMP.class | |
2 | +"C:\Program Files\Java\jdk1.7.0_09\bin\jar.exe" uvf UncraftSMPuniversal4.6.jar UCMP_logo.png | |
3 | +"C:\Program Files\Java\jdk1.7.0_09\bin\jar.exe" uvf UncraftSMPuniversal4.6.jar mcmod.info | |
4 | +pause | |
\ No newline at end of file |
@@ -0,0 +1,21 @@ | ||
1 | +[ | |
2 | +{ | |
3 | + "modid": "Uncraft_SMP", | |
4 | + "name": "UncraftSMP", | |
5 | + "description": "What ecological-inverse transform of for survival multiplayer version of the unofficial version was supposed to be one.", | |
6 | + "version": "4.6", | |
7 | + "mcversion": "1.4.5", | |
8 | + "url": "http://tcrsnc.com/modules/pico/index.php?content_id=7", | |
9 | + "updateUrl": "", | |
10 | + "authors": [ | |
11 | + "inaka" | |
12 | + ], | |
13 | + "credits": "inaka", | |
14 | + "logoFile": "/UCMP_logo.png", | |
15 | + "screenshots": [ | |
16 | + ], | |
17 | + "parent":"", | |
18 | + "dependencies": [ | |
19 | + ] | |
20 | +} | |
21 | +] | |
\ No newline at end of file |
@@ -0,0 +1,25 @@ | ||
1 | +UncraftSMP ver 4.6 | |
2 | +Readme | |
3 | + | |
4 | +Author inaka | |
5 | +Support for version 1.4.5+forge6.4.0.380 or 6.4.0.xxx | |
6 | + | |
7 | + | |
8 | + | |
9 | +Note: the author is Japanese. I don't know much English. | |
10 | +To produce this readme issue, I used bingtranslator. | |
11 | +I was wrong sorry!! | |
12 | + | |
13 | +How to get started | |
14 | +Common client & Server | |
15 | +1_Deleting minecraft.jar you to deploy on clients, in META-INF. | |
16 | +2_To introduce a universal version of MineCraftForge. | |
17 | +3_To unzip the UncraftSMPuniversal4.6.zip to a suitable location. | |
18 | +4_Mods into the UncraftSMPuniversal4.6.jar from the extracted files. | |
19 | +5_Can enjoy! | |
20 | +Changes made to this | |
21 | +For MineCraft1.4.5 and forge6.4.0.380 | |
22 | + | |
23 | +This version of specification | |
24 | +Not for the inverse transform of IndustrialCraft2. | |
25 | +Rather than not being released yet. | |
\ No newline at end of file |
@@ -0,0 +1,33 @@ | ||
1 | +UnCraftSMP ver 4.5 | |
2 | +readme | |
3 | + | |
4 | + | |
5 | + | |
6 | +作者 inaka | |
7 | + | |
8 | +サポートバージョン1.4.5+forge6.4.0.380もしくは6.4.0.xxx | |
9 | + | |
10 | + | |
11 | + | |
12 | +導入方法 | |
13 | + | |
14 | +クライアント&サーバー共通 | |
15 | + | |
16 | +1_クライアントに導入するなら、minecraft.jarの中にあるMETA-INFを削除する。 | |
17 | + | |
18 | +2_MineCraftForgeのuniversal版を導入する。 | |
19 | + | |
20 | +3_UncraftSMPuniversal4.6.zipを適当な場所に解凍する。 | |
21 | +4_解凍したファイルの中からUncraftSMPuniversal4.6.jarをmodsに入れる。 | |
22 | +5_楽しむがいい! | |
23 | + | |
24 | + | |
25 | + | |
26 | +今回の変更点 | |
27 | + | |
28 | +1.4.5とforge6.4.0.380に対応 | |
29 | + | |
30 | +このバージョンの仕様 | |
31 | + | |
32 | +IndustrialCraft2の逆変換に対応してません。 | |
33 | +というよりまだリリースされてません。 | |
\ No newline at end of file |
@@ -0,0 +1,758 @@ | ||
1 | +package net.minecraft.src; | |
2 | + | |
3 | +import java.util.logging.Level; | |
4 | + | |
5 | +import net.minecraftforge.common.Configuration; | |
6 | +import net.minecraftforge.common.Property; | |
7 | +import cpw.mods.fml.common.FMLLog; | |
8 | +import cpw.mods.fml.common.Mod; | |
9 | +import cpw.mods.fml.common.Mod.Init; | |
10 | +import cpw.mods.fml.common.event.FMLInitializationEvent; | |
11 | +import cpw.mods.fml.common.event.FMLPreInitializationEvent; | |
12 | +import cpw.mods.fml.common.network.NetworkMod; | |
13 | +import cpw.mods.fml.common.registry.GameRegistry; | |
14 | + | |
15 | +@Mod(modid = "Uncraft_SMP", name = "Uncraft_SMP", version = "4.6") | |
16 | +@NetworkMod(clientSideRequired = true, serverSideRequired = false) | |
17 | +public class mod_Uncraft_SMP { | |
18 | + | |
19 | + @MLProp(info="Number of doors", min=1,max=3) | |
20 | + public static int door = 1; | |
21 | + @MLProp(info="Default:false ON=true, OFF=false") | |
22 | + public static boolean ALL = true; | |
23 | + @MLProp(info="Default:true ON=true, OFF=false") | |
24 | + public static boolean un_main = true; | |
25 | + | |
26 | + @Init | |
27 | + public void load(FMLInitializationEvent event) | |
28 | + { | |
29 | + | |
30 | + int D = 0; | |
31 | + int i; | |
32 | + if (ALL = true)D = -1; | |
33 | + if(ALL = false)D = 0; | |
34 | + if(door>3)door=3; | |
35 | + if(door<1)door=1; | |
36 | + if(un_main){ | |
37 | + switch(door){ | |
38 | + case 1: | |
39 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,6), | |
40 | + new Object[]{ | |
41 | + new ItemStack(Item.doorWood, 1)}); | |
42 | + | |
43 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,6), | |
44 | + new Object[]{ | |
45 | + new ItemStack(Item.doorSteel, 1)}); | |
46 | + | |
47 | + break; | |
48 | + | |
49 | + case 2: | |
50 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,12), | |
51 | + new Object[]{ | |
52 | + new ItemStack(Item.doorWood, 1),new ItemStack(Item.doorWood, 1)}); | |
53 | + | |
54 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,12), | |
55 | + new Object[]{ | |
56 | + new ItemStack(Item.doorSteel, 1), new ItemStack(Item.doorSteel, 1)}); | |
57 | + | |
58 | + break; | |
59 | + | |
60 | + case 3: | |
61 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,18), | |
62 | + new Object[]{ | |
63 | + new ItemStack(Item.doorWood, 1),new ItemStack(Item.doorWood, 1),new ItemStack(Item.doorWood, 1)}); | |
64 | + | |
65 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,18), | |
66 | + new Object[]{ | |
67 | + new ItemStack(Item.doorSteel, 1), new ItemStack(Item.doorSteel, 1), new ItemStack(Item.doorSteel, 1)});// | |
68 | + | |
69 | + break; | |
70 | + | |
71 | + default: | |
72 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,6), | |
73 | + new Object[]{ | |
74 | + new ItemStack(Item.doorWood, 1)});// | |
75 | + | |
76 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,6), | |
77 | + new Object[]{ | |
78 | + new ItemStack(Item.doorSteel, 1)});// | |
79 | + | |
80 | + break; | |
81 | + } | |
82 | + | |
83 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,8), | |
84 | + new Object[]{ | |
85 | + new ItemStack(Block.stoneOvenIdle, 1)});// | |
86 | + | |
87 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,8), | |
88 | + new Object[]{ | |
89 | + new ItemStack(Block.chest, 1)});// | |
90 | + | |
91 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,4), | |
92 | + new Object[]{ | |
93 | + new ItemStack(Block.workbench, 1)});// | |
94 | + | |
95 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,8), | |
96 | + new Object[]{ | |
97 | + new ItemStack(Block.chest, 1)});// | |
98 | + | |
99 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,5), | |
100 | + new Object[]{ | |
101 | + new ItemStack(Item.boat, 1)});// | |
102 | + | |
103 | + GameRegistry.addRecipe(new ItemStack(Block.planks,1), | |
104 | + new Object[]{"XX", | |
105 | + Character.valueOf('X'),Item.stick });// | |
106 | + | |
107 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,5), | |
108 | + new Object[]{ | |
109 | + new ItemStack(Item.minecartEmpty, 1)});// | |
110 | + | |
111 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.reed,1), | |
112 | + new Object[]{ | |
113 | + new ItemStack(Item.paper, 1)});// | |
114 | + | |
115 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,1), | |
116 | + new Object[]{ | |
117 | + new ItemStack(Item.book, 1)});// | |
118 | + | |
119 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.wheat,3), | |
120 | + new Object[]{ | |
121 | + new ItemStack(Item.bread, 1)});// | |
122 | + | |
123 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.reed,1), | |
124 | + new Object[]{ | |
125 | + new ItemStack(Item.sugar, 1)});// | |
126 | + | |
127 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,3), | |
128 | + new Object[]{ | |
129 | + new ItemStack(Block.fence, 1)});// | |
130 | + | |
131 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,13), | |
132 | + new Object[]{ | |
133 | + new ItemStack(Item.sign, 1)});// | |
134 | + | |
135 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.reed,3), | |
136 | + new Object[]{ | |
137 | + new ItemStack(Item.paper, 1)});// | |
138 | + | |
139 | + GameRegistry.addRecipe(new ItemStack(Block.planks,3), | |
140 | + new Object[]{"XX", | |
141 | + Character.valueOf('X'),Block.stairCompactPlanks });// | |
142 | + | |
143 | + GameRegistry.addRecipe(new ItemStack(Block.cobblestone,3), | |
144 | + new Object[]{"XX", | |
145 | + Character.valueOf('X'),Block.stairCompactCobblestone });// | |
146 | + | |
147 | + GameRegistry.addRecipe(new ItemStack(Block.brick,3), | |
148 | + new Object[]{"XX", | |
149 | + Character.valueOf('X'),Block.stairsBrick });// | |
150 | + | |
151 | + GameRegistry.addRecipe(new ItemStack(Block.stoneBrick,3), | |
152 | + new Object[]{"XX", | |
153 | + Character.valueOf('X'),Block.stairsStoneBrickSmooth }); | |
154 | + | |
155 | + GameRegistry.addRecipe(new ItemStack(Block.wood,1), | |
156 | + new Object[]{"X X"," ","X X", | |
157 | + Character.valueOf('X'),Block.planks }); | |
158 | + | |
159 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.goldNugget,8), | |
160 | + new Object[]{ | |
161 | + new ItemStack(Item.appleGold, 1)}); | |
162 | + | |
163 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,8), | |
164 | + new Object[]{ | |
165 | + new ItemStack(Item.appleGold, 1,1)}); | |
166 | + | |
167 | + | |
168 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cloth,3,0), | |
169 | + new Object[]{ | |
170 | + new ItemStack(Item.bed, 1)}); | |
171 | + | |
172 | + GameRegistry.addRecipe(new ItemStack(Item.coal,1,0), | |
173 | + new Object[]{"XX","XX", | |
174 | + Character.valueOf('X'),Block.torchWood }); | |
175 | + | |
176 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,8), | |
177 | + new Object[]{ | |
178 | + new ItemStack(Item.painting, 1)}); | |
179 | + | |
180 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.clay,4), | |
181 | + new Object[]{ | |
182 | + new ItemStack(Block.blockClay, 1)}); | |
183 | + | |
184 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.snowball,4), | |
185 | + new Object[]{ | |
186 | + new ItemStack(Block.blockSnow, 1)}); | |
187 | + | |
188 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.brick,4), | |
189 | + new Object[]{ | |
190 | + new ItemStack(Block.brick, 1)}); | |
191 | + | |
192 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stone,1), | |
193 | + new Object[]{ | |
194 | + new ItemStack(Block.stoneBrick, 1)}); | |
195 | + | |
196 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.sand,4), | |
197 | + new Object[]{ | |
198 | + new ItemStack(Block.sandStone, 1)}); | |
199 | + | |
200 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.redstone,1), | |
201 | + new Object[]{ | |
202 | + new ItemStack(Block.music, 1)}); | |
203 | + | |
204 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,1), | |
205 | + new Object[]{ | |
206 | + new ItemStack(Block.jukebox, 1)}); | |
207 | + | |
208 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.gunpowder,5), | |
209 | + new Object[]{ | |
210 | + new ItemStack(Block.tnt, 1)});//tnt | |
211 | + | |
212 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.pumpkin,1), | |
213 | + new Object[]{ | |
214 | + new ItemStack(Block.pumpkinLantern, 1)}); | |
215 | + | |
216 | + GameRegistry.addRecipe(new ItemStack(Block.planks,3), | |
217 | + new Object[]{"XX","XX", | |
218 | + Character.valueOf('X'),Item.bowlEmpty }); | |
219 | + | |
220 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.lightStoneDust,4), | |
221 | + new Object[]{ | |
222 | + new ItemStack(Block.glowStone, 1)}); | |
223 | + | |
224 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.silk,4), | |
225 | + new Object[]{ | |
226 | + new ItemStack(Block.cloth,1,0)}); | |
227 | + | |
228 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stone,1), | |
229 | + new Object[]{ | |
230 | + new ItemStack(Block.stoneButton, 1)}); | |
231 | + | |
232 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,3), | |
233 | + new Object[]{ | |
234 | + new ItemStack(Item.bucketEmpty, 1)}); | |
235 | + | |
236 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,4), | |
237 | + new Object[]{ | |
238 | + new ItemStack(Item.pocketSundial, 1)}); | |
239 | + | |
240 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,4), | |
241 | + new Object[]{ | |
242 | + new ItemStack(Item.compass, 1)}); | |
243 | + | |
244 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.silk,2), | |
245 | + new Object[]{ | |
246 | + new ItemStack(Item.fishingRod, 1, D)}); | |
247 | + | |
248 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.silk,3), | |
249 | + new Object[]{ | |
250 | + new ItemStack(Item.bow, 1, D)}); | |
251 | + | |
252 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,1), | |
253 | + new Object[]{ | |
254 | + new ItemStack(Block.railPowered, 1)}); | |
255 | + | |
256 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,1), | |
257 | + new Object[]{ | |
258 | + new ItemStack(Block.railDetector, 1)}); | |
259 | + | |
260 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.bow,1), | |
261 | + new Object[]{ | |
262 | + new ItemStack(Block.dispenser, 1)}); | |
263 | + | |
264 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,2), | |
265 | + new Object[]{ | |
266 | + new ItemStack(ItemShears.shears, 1, D)}); | |
267 | + | |
268 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.compass,1), | |
269 | + new Object[]{ | |
270 | + new ItemStack(ItemMap.map, 1)}); | |
271 | + | |
272 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,1), | |
273 | + new Object[]{ | |
274 | + new ItemStack(Block.pistonBase, 1)}); | |
275 | + | |
276 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.slimeBall,1), | |
277 | + new Object[]{ | |
278 | + new ItemStack(Block.pistonStickyBase, 1)}); | |
279 | + | |
280 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,3), | |
281 | + new Object[]{ | |
282 | + new ItemStack(Block.trapdoor, 1)}); | |
283 | + | |
284 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,2), | |
285 | + new Object[]{ | |
286 | + new ItemStack(Block.pressurePlatePlanks, 1)}); | |
287 | + | |
288 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stone,2), | |
289 | + new Object[]{ | |
290 | + new ItemStack(Block.pressurePlateStone, 1)}); | |
291 | + | |
292 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.redstone,1), | |
293 | + new Object[]{ | |
294 | + new ItemStack(Block.torchRedstoneActive, 1)}); | |
295 | + | |
296 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,1), | |
297 | + new Object[]{ | |
298 | + new ItemStack(Block.lever, 1)}); | |
299 | + | |
300 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.wheat,3), | |
301 | + new Object[]{ | |
302 | + new ItemStack(Block.cake, 1)}); | |
303 | + | |
304 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.wheat,3), | |
305 | + new Object[]{ | |
306 | + new ItemStack(Item.cake, 1)}); | |
307 | + | |
308 | + GameRegistry.addRecipe(new ItemStack(Item.wheat,1), | |
309 | + new Object[]{"XX","XX", | |
310 | + Character.valueOf('X'),Item.cookie }); | |
311 | + | |
312 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,14), | |
313 | + new Object[]{ | |
314 | + new ItemStack(Block.cloth,1,1)});// | |
315 | + | |
316 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,13), | |
317 | + new Object[]{ | |
318 | + new ItemStack(Block.cloth,1,2)});// | |
319 | + | |
320 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,12), | |
321 | + new Object[]{ | |
322 | + new ItemStack(Block.cloth,1,3)});// | |
323 | + | |
324 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,11), | |
325 | + new Object[]{ | |
326 | + new ItemStack(Block.cloth,1,4)});// | |
327 | + | |
328 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,10), | |
329 | + new Object[]{ | |
330 | + new ItemStack(Block.cloth,1,5)}); | |
331 | + | |
332 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,9), | |
333 | + new Object[]{ | |
334 | + new ItemStack(Block.cloth,1,6)}); | |
335 | + | |
336 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,8), | |
337 | + new Object[]{ | |
338 | + new ItemStack(Block.cloth,1,7)}); | |
339 | + | |
340 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,7), | |
341 | + new Object[]{ | |
342 | + new ItemStack(Block.cloth,1,8)}); | |
343 | + | |
344 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,6), | |
345 | + new Object[]{ | |
346 | + new ItemStack(Block.cloth,1,9)}); | |
347 | + | |
348 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,5), | |
349 | + new Object[]{ | |
350 | + new ItemStack(Block.cloth,1,10)});// | |
351 | + | |
352 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,4), | |
353 | + new Object[]{ | |
354 | + new ItemStack(Block.cloth,1,11)});// | |
355 | + | |
356 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,3), | |
357 | + new Object[]{ | |
358 | + new ItemStack(Block.cloth,1,12)}); | |
359 | + | |
360 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,2), | |
361 | + new Object[]{ | |
362 | + new ItemStack(Block.cloth,1,13)}); | |
363 | + | |
364 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,1), | |
365 | + new Object[]{ | |
366 | + new ItemStack(Block.cloth,1,14)}); | |
367 | + | |
368 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,0), | |
369 | + new Object[]{ | |
370 | + new ItemStack(Block.cloth,1,15)}); | |
371 | + | |
372 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.book,3), | |
373 | + new Object[]{ | |
374 | + new ItemStack(Block.bookShelf, 1)}); | |
375 | + | |
376 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,5), | |
377 | + new Object[]{ | |
378 | + new ItemStack(Item.helmetLeather, 1,D)}); | |
379 | + | |
380 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,8), | |
381 | + new Object[]{ | |
382 | + new ItemStack(Item.plateLeather, 1,D)}); | |
383 | + | |
384 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,7), | |
385 | + new Object[]{ | |
386 | + new ItemStack(Item.legsLeather, 1,D)});// | |
387 | + | |
388 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,4), | |
389 | + new Object[]{ | |
390 | + new ItemStack(Item.bootsLeather, 1,D)});// | |
391 | + | |
392 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,5), | |
393 | + new Object[]{ | |
394 | + new ItemStack(Item.helmetSteel, 1,D)}); | |
395 | + | |
396 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,8), | |
397 | + new Object[]{ | |
398 | + new ItemStack(Item.plateSteel, 1,D)}); | |
399 | + | |
400 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,7), | |
401 | + new Object[]{ | |
402 | + new ItemStack(Item.legsSteel, 1,D)}); | |
403 | + | |
404 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,4), | |
405 | + new Object[]{ | |
406 | + new ItemStack(Item.bootsSteel, 1,D)}); | |
407 | + | |
408 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,5), | |
409 | + new Object[]{ | |
410 | + new ItemStack(Item.helmetGold, 1,D)}); | |
411 | + | |
412 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,8), | |
413 | + new Object[]{ | |
414 | + new ItemStack(Item.plateGold, 1,D)}); | |
415 | + | |
416 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,7), | |
417 | + new Object[]{ | |
418 | + new ItemStack(Item.legsGold, 1,D)}); | |
419 | + | |
420 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,4), | |
421 | + new Object[]{ | |
422 | + new ItemStack(Item.bootsGold, 1,D)}); | |
423 | + | |
424 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,5), | |
425 | + new Object[]{ | |
426 | + new ItemStack(Item.helmetDiamond, 1,D)}); | |
427 | + | |
428 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,8), | |
429 | + new Object[]{ | |
430 | + new ItemStack(Item.plateDiamond, 1,D)}); | |
431 | + | |
432 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,7), | |
433 | + new Object[]{ | |
434 | + new ItemStack(Item.legsDiamond, 1,D)}); | |
435 | + | |
436 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,4), | |
437 | + new Object[]{ | |
438 | + new ItemStack(Item.bootsDiamond, 1,D)}); | |
439 | + | |
440 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,5), | |
441 | + new Object[]{ | |
442 | + new ItemStack(Item.swordWood, 1,D)}); | |
443 | + | |
444 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,4), | |
445 | + new Object[]{ | |
446 | + new ItemStack(Item.pickaxeWood, 1,D)}); | |
447 | + | |
448 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,2), | |
449 | + new Object[]{ | |
450 | + new ItemStack(Item.shovelWood, 1,D)}); | |
451 | + | |
452 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,4), | |
453 | + new Object[]{ | |
454 | + new ItemStack(Item.axeWood, 1,D)}); | |
455 | + | |
456 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,3), | |
457 | + new Object[]{ | |
458 | + new ItemStack(Item.hoeWood, 1,D)}); | |
459 | + | |
460 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,2), | |
461 | + new Object[]{ | |
462 | + new ItemStack(Item.swordStone, 1,D)}); | |
463 | + | |
464 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,3), | |
465 | + new Object[]{ | |
466 | + new ItemStack(Item.pickaxeStone, 1,D)}); | |
467 | + | |
468 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,1), | |
469 | + new Object[]{ | |
470 | + new ItemStack(Item.shovelStone, 1,D)}); | |
471 | + | |
472 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,3), | |
473 | + new Object[]{ | |
474 | + new ItemStack(Item.axeStone, 1,D)}); | |
475 | + | |
476 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,2), | |
477 | + new Object[]{ | |
478 | + new ItemStack(Item.hoeStone, 1,D)}); | |
479 | + | |
480 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,2), | |
481 | + new Object[]{ | |
482 | + new ItemStack(Item.swordSteel, 1,D)}); | |
483 | + | |
484 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,3), | |
485 | + new Object[]{ | |
486 | + new ItemStack(Item.pickaxeSteel, 1,D)}); | |
487 | + | |
488 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,1), | |
489 | + new Object[]{ | |
490 | + new ItemStack(Item.shovelSteel, 1,D)}); | |
491 | + | |
492 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,3), | |
493 | + new Object[]{ | |
494 | + new ItemStack(Item.axeSteel, 1,D)}); | |
495 | + | |
496 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,2), | |
497 | + new Object[]{ | |
498 | + new ItemStack(Item.hoeSteel, 1,D)}); | |
499 | + | |
500 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,2), | |
501 | + new Object[]{ | |
502 | + new ItemStack(Item.swordGold, 1,D)});// | |
503 | + | |
504 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,3), | |
505 | + new Object[]{ | |
506 | + new ItemStack(Item.pickaxeGold, 1,D)});// | |
507 | + | |
508 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,1), | |
509 | + new Object[]{ | |
510 | + new ItemStack(Item.shovelGold, 1,D)});// | |
511 | + | |
512 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,3), | |
513 | + new Object[]{ | |
514 | + new ItemStack(Item.axeGold, 1,D)});// | |
515 | + | |
516 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,2), | |
517 | + new Object[]{ | |
518 | + new ItemStack(Item.hoeGold, 1,D)});// | |
519 | + | |
520 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,2), | |
521 | + new Object[]{ | |
522 | + new ItemStack(Item.swordDiamond, 1,D)});// | |
523 | + | |
524 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,3), | |
525 | + new Object[]{ | |
526 | + new ItemStack(Item.pickaxeDiamond, 1,D)});// | |
527 | + | |
528 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,1), | |
529 | + new Object[]{ | |
530 | + new ItemStack(Item.shovelDiamond, 1,D)});// | |
531 | + | |
532 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,3), | |
533 | + new Object[]{ | |
534 | + new ItemStack(Item.axeDiamond, 1,D)});// | |
535 | + | |
536 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,2), | |
537 | + new Object[]{ | |
538 | + new ItemStack(Item.hoeDiamond, 1,D)}); | |
539 | + | |
540 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.melon,9), | |
541 | + new Object[]{ | |
542 | + new ItemStack(Block.melon, 1)});// | |
543 | + | |
544 | + GameRegistry.addRecipe(new ItemStack(Item.ingotIron,3), | |
545 | + new Object[]{"XXX","X X","XXX", | |
546 | + Character.valueOf('X'),Block.rail });// | |
547 | + | |
548 | + GameRegistry.addRecipe(new ItemStack(Block.glass,3), | |
549 | + new Object[]{"XXX","X X","XXX", | |
550 | + Character.valueOf('X'),Block.thinGlass });// | |
551 | + | |
552 | + GameRegistry.addRecipe(new ItemStack(Item.ingotIron,3), | |
553 | + new Object[]{"XXX","X X","XXX", | |
554 | + Character.valueOf('X'),Block.fenceIron }); | |
555 | + | |
556 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,4), | |
557 | + new Object[]{ | |
558 | + new ItemStack(Block.fenceGate, 1)});// | |
559 | + | |
560 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.chest,1), | |
561 | + new Object[]{ | |
562 | + new ItemStack(Item.minecartCrate, 1)});// | |
563 | + | |
564 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stoneOvenIdle,1), | |
565 | + new Object[]{ | |
566 | + new ItemStack(Item.minecartPowered, 1)});// | |
567 | + | |
568 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.torchRedstoneActive,2), | |
569 | + new Object[]{ | |
570 | + new ItemStack(Item.redstoneRepeater, 1)});// | |
571 | + | |
572 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.melon,1), | |
573 | + new Object[]{ | |
574 | + new ItemStack(Item.melonSeeds, 1)});// | |
575 | + | |
576 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.bone,1), | |
577 | + new Object[]{ | |
578 | + new ItemStack(Item.dyePowder,1,15),new ItemStack(Item.dyePowder,1,15),new ItemStack(Item.dyePowder,1,15)});// | |
579 | + | |
580 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.pumpkinSeeds,2), | |
581 | + new Object[]{ | |
582 | + new ItemStack(Block.pumpkin, 1)});// | |
583 | + | |
584 | + /* | |
585 | + GameRegistry.AddShapelessRecipe(new ItemStack(Item.pumpkinSeeds,2), | |
586 | + new Object[]{ | |
587 | + new ItemStack(Block.pumpkin, 1)});// | |
588 | + */ | |
589 | + | |
590 | + GameRegistry.addRecipe(new ItemStack(Block.pumpkin,1), | |
591 | + new Object[]{"XX ","XX ", | |
592 | + Character.valueOf('X'),Item.pumpkinSeeds }); | |
593 | + | |
594 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.netherBrick,1), | |
595 | + new Object[]{ | |
596 | + new ItemStack(Block.netherFence, 1)}); | |
597 | + | |
598 | + GameRegistry.addRecipe(new ItemStack(Block.netherBrick,3), | |
599 | + new Object[]{"XX", | |
600 | + Character.valueOf('X'),Block.stairsNetherBrick }); | |
601 | + | |
602 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.blazePowder,1), | |
603 | + new Object[]{ | |
604 | + new ItemStack(Item.magmaCream, 1)});// | |
605 | + | |
606 | + GameRegistry.addRecipe(new ItemStack(Item.blazeRod,1), | |
607 | + new Object[]{"XX", | |
608 | + Character.valueOf('X'),Item.blazePowder });// | |
609 | + | |
610 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.spiderEye,1), | |
611 | + new Object[]{ | |
612 | + new ItemStack(Item.fermentedSpiderEye, 1)});// | |
613 | + | |
614 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.goldNugget,1), | |
615 | + new Object[]{ | |
616 | + new ItemStack(Item.speckledMelon, 1)});// | |
617 | + | |
618 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.glass,1), | |
619 | + new Object[]{ | |
620 | + new ItemStack(Item.glassBottle, 1)});// | |
621 | + | |
622 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,7), | |
623 | + new Object[]{ | |
624 | + new ItemStack(Item.cauldron, 1)}); | |
625 | + | |
626 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,2), | |
627 | + new Object[]{ | |
628 | + new ItemStack(Block.enchantmentTable, 1)}); | |
629 | + | |
630 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.blazeRod,1), | |
631 | + new Object[]{ | |
632 | + new ItemStack(Item.brewingStand, 1)}); | |
633 | + | |
634 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.blazePowder,1), | |
635 | + new Object[]{ | |
636 | + new ItemStack(Item.eyeOfEnder, 1)}); | |
637 | + | |
638 | + GameRegistry.addRecipe(new ItemStack(Item.flint,1), | |
639 | + new Object[]{"XX ","XX ", | |
640 | + Character.valueOf('X'),Item.arrow }); | |
641 | + | |
642 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.flint,1), | |
643 | + new Object[]{ | |
644 | + new ItemStack(Block.gravel, 1)}); | |
645 | + | |
646 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.bucketLava,1), | |
647 | + new Object[]{ | |
648 | + new ItemStack(Item.bucketEmpty, 1),new ItemStack(Block.obsidian, 1)}); | |
649 | + | |
650 | + for(i=1;i<16;i++){ | |
651 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cloth,1,0), | |
652 | + new Object[]{ | |
653 | + new ItemStack(Item.bucketWater, 1),new ItemStack(Block.cloth,1,i)});//1 | |
654 | + } | |
655 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.ice,1), | |
656 | + new Object[]{ | |
657 | + new ItemStack(Item.bucketWater, 1),new ItemStack(Item.snowball,1)}); | |
658 | + | |
659 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.gravel,1), | |
660 | + new Object[]{ | |
661 | + new ItemStack(Item.flint, 1)});// | |
662 | + | |
663 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,7), | |
664 | + new Object[]{ | |
665 | + new ItemStack(Block.ladder, 1),new ItemStack(Block.ladder, 1),new ItemStack(Block.ladder, 1)});// | |
666 | + | |
667 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stone,1), | |
668 | + new Object[]{ | |
669 | + new ItemStack(Block.stoneSingleSlab, 1,0),new ItemStack(Block.stoneSingleSlab, 1,0)});// | |
670 | + | |
671 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.sandStone,1), | |
672 | + new Object[]{ | |
673 | + new ItemStack(Block.stoneSingleSlab, 1,1),new ItemStack(Block.stoneSingleSlab, 1,1)});// | |
674 | + | |
675 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1), | |
676 | + new Object[]{ | |
677 | + new ItemStack(Block.woodSingleSlab, 1),new ItemStack(Block.woodSingleSlab, 1)});// | |
678 | + | |
679 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,1), | |
680 | + new Object[]{ | |
681 | + new ItemStack(Block.stoneSingleSlab, 1,3),new ItemStack(Block.stoneSingleSlab, 1,3)});// | |
682 | + | |
683 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.brick,1), | |
684 | + new Object[]{ | |
685 | + new ItemStack(Block.stoneSingleSlab, 1,4),new ItemStack(Block.stoneSingleSlab, 1,4)});// | |
686 | + | |
687 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stoneBrick,1), | |
688 | + new Object[]{ | |
689 | + new ItemStack(Block.stoneSingleSlab, 1,5),new ItemStack(Block.stoneSingleSlab, 1,5)}); | |
690 | + | |
691 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1), | |
692 | + new Object[]{ | |
693 | + new ItemStack(Block.woodSingleSlab, 1),new ItemStack(Block.woodSingleSlab, 1)});// | |
694 | + | |
695 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1,1), | |
696 | + new Object[]{ | |
697 | + new ItemStack(Block.woodSingleSlab, 1,1),new ItemStack(Block.woodSingleSlab, 1,1)});// | |
698 | + | |
699 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1,2), | |
700 | + new Object[]{ | |
701 | + new ItemStack(Block.woodSingleSlab, 1,2),new ItemStack(Block.woodSingleSlab, 1,2)});// | |
702 | + | |
703 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1,3), | |
704 | + new Object[]{ | |
705 | + new ItemStack(Block.woodSingleSlab, 1,3),new ItemStack(Block.woodSingleSlab, 1,3)});// | |
706 | + | |
707 | + | |
708 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.redstone, 4), | |
709 | + new Object[]{ | |
710 | + new ItemStack(Block.redstoneLampIdle, 1)}); | |
711 | + | |
712 | + GameRegistry.addRecipe(new ItemStack(Block.sandStone,3), | |
713 | + new Object[]{"XX", | |
714 | + Character.valueOf('X'),Block.stairsSandStone });// | |
715 | + | |
716 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron, 1), | |
717 | + new Object[]{ | |
718 | + new ItemStack(Block.tripWireSource, 1)}); | |
719 | + | |
720 | + | |
721 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.eyeOfEnder, 1), | |
722 | + new Object[]{ | |
723 | + new ItemStack(Block.enderChest, 1)}); | |
724 | + | |
725 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.book, 1), | |
726 | + new Object[]{ | |
727 | + new ItemStack(Item.writableBook, 1)}); | |
728 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron, 31), | |
729 | + new Object[]{ | |
730 | + new ItemStack(Block.anvil, 1)}); | |
731 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.netherStar, 1), | |
732 | + new Object[]{ | |
733 | + new ItemStack(Block.beacon, 1)}); | |
734 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone), | |
735 | + new Object[]{ | |
736 | + new ItemStack(Block.cobblestoneWall, 1)}); | |
737 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks), | |
738 | + new Object[]{ | |
739 | + new ItemStack(Block.woodenButton)}); | |
740 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.brick, 3), | |
741 | + new Object[]{ | |
742 | + new ItemStack(Item.flowerPot)}); | |
743 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.goldNugget, 8), | |
744 | + new Object[]{ | |
745 | + new ItemStack(Item.goldenCarrot)}); | |
746 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.pumpkin, 1), | |
747 | + new Object[]{ | |
748 | + new ItemStack(Item.pumpkinPie)}); | |
749 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.fishingRod, 1), | |
750 | + new Object[]{ | |
751 | + new ItemStack(Item.carrotOnAStick)}); | |
752 | + | |
753 | + | |
754 | + } | |
755 | + } | |
756 | + | |
757 | + public mod_Uncraft_SMP(){} | |
758 | +} | |
\ No newline at end of file |
@@ -0,0 +1,4 @@ | ||
1 | +"C:\Program Files\Java\jdk1.7.0_09\bin\jar.exe" cvf UncraftSMPuniversal4.8.jar mod_Uncraft_SMP.class | |
2 | +"C:\Program Files\Java\jdk1.7.0_09\bin\jar.exe" uvf UncraftSMPuniversal4.8.jar UCMP_logo.png | |
3 | +"C:\Program Files\Java\jdk1.7.0_09\bin\jar.exe" uvf UncraftSMPuniversal4.8.jar mcmod.info | |
4 | +pause | |
\ No newline at end of file |
@@ -0,0 +1,21 @@ | ||
1 | +[ | |
2 | +{ | |
3 | + "modid": "Uncraft_SMP", | |
4 | + "name": "UncraftSMP", | |
5 | + "description": "What ecological-inverse transform of for survival multiplayer version of the unofficial version was supposed to be one.", | |
6 | + "version": "4.8", | |
7 | + "mcversion": "1.4.6", | |
8 | + "url": "http://jpinaka.b.sourceforge.jp/UncraftSMP/", | |
9 | + "updateUrl": "", | |
10 | + "authors": [ | |
11 | + "inaka" | |
12 | + ], | |
13 | + "credits": "inaka", | |
14 | + "logoFile": "/UCMP_logo.png", | |
15 | + "screenshots": [ | |
16 | + ], | |
17 | + "parent":"", | |
18 | + "dependencies": [ | |
19 | + ] | |
20 | +} | |
21 | +] | |
\ No newline at end of file |
@@ -0,0 +1,23 @@ | ||
1 | +UncraftSMP ver 4.8 | |
2 | +Readme | |
3 | + | |
4 | +Author inaka | |
5 | +Support for version 1.4.6+forge6.5.0.451 or 6.5.0.xxx | |
6 | + | |
7 | +Note: the author is Japanese. I don't know much English. | |
8 | +To produce this readme issue, I used bingtranslator. | |
9 | +I was wrong sorry!! | |
10 | + | |
11 | +How to get started | |
12 | +Common client & Server | |
13 | +1_Deleting minecraft.jar you to deploy on clients, in META-INF. | |
14 | +2_To introduce a universal version of MineCraftForge. | |
15 | +3_To unzip the UncraftSMPuniversal4.8.zip to a suitable location. | |
16 | +4_Mods into the UncraftSMPuniversal4.8.jar from the extracted files. | |
17 | +5_Can enjoy! | |
18 | +Changes made to this | |
19 | +For MineCraft1.4.6 and forge6.5.0.451 | |
20 | + | |
21 | +This version of specification | |
22 | +Not for the inverse transform of IndustrialCraft2. | |
23 | +Rather than not being released yet. | |
\ No newline at end of file |
@@ -0,0 +1,31 @@ | ||
1 | +UnCraftSMP ver 4.8 | |
2 | +readme | |
3 | + | |
4 | + | |
5 | + | |
6 | +作者 inaka | |
7 | + | |
8 | +サポートバージョン1.4.6+forge6.5.0.451もしくは6.5.0.xxx | |
9 | + | |
10 | +導入方法 | |
11 | + | |
12 | +クライアント&サーバー共通 | |
13 | + | |
14 | +1_クライアントに導入するなら、minecraft.jarの中にあるMETA-INFを削除する。 | |
15 | + | |
16 | +2_MineCraftForgeのuniversal版を導入する。 | |
17 | + | |
18 | +3_UncraftSMPuniversal4.8.zipを適当な場所に解凍する。 | |
19 | +4_解凍したファイルの中からUncraftSMPuniversal4.8.jarをmodsに入れる。 | |
20 | +5_楽しむがいい! | |
21 | + | |
22 | + | |
23 | + | |
24 | +今回の変更点 | |
25 | + | |
26 | +1.4.6とforge6.5.0.451に対応 | |
27 | + | |
28 | +このバージョンの仕様 | |
29 | + | |
30 | +IndustrialCraft2の逆変換に対応してません。 | |
31 | +というよりまだリリースされてません。 | |
\ No newline at end of file |
@@ -0,0 +1,787 @@ | ||
1 | +package net.minecraft.src; | |
2 | + | |
3 | +import java.io.File; | |
4 | +import java.util.logging.Level; | |
5 | + | |
6 | +import net.minecraft.block.Block; | |
7 | +import net.minecraft.client.Minecraft; | |
8 | +import net.minecraft.item.Item; | |
9 | +import net.minecraft.item.ItemMap; | |
10 | +import net.minecraft.item.ItemShears; | |
11 | +import net.minecraft.item.ItemStack; | |
12 | +import net.minecraftforge.common.Configuration; | |
13 | +import net.minecraftforge.common.Property; | |
14 | +import cpw.mods.fml.common.FMLLog; | |
15 | +import cpw.mods.fml.common.Mod; | |
16 | +import cpw.mods.fml.common.Mod.Init; | |
17 | +import cpw.mods.fml.common.event.FMLInitializationEvent; | |
18 | +import cpw.mods.fml.common.event.FMLPreInitializationEvent; | |
19 | +import cpw.mods.fml.common.network.NetworkMod; | |
20 | +import cpw.mods.fml.common.registry.GameRegistry; | |
21 | + | |
22 | +@Mod(modid = "Uncraft_SMP", name = "Uncraft_SMP", version = "4.8") | |
23 | +@NetworkMod(clientSideRequired = true, serverSideRequired = false) | |
24 | +public class mod_Uncraft_SMP { | |
25 | + | |
26 | + public static int door = 1; | |
27 | + public static boolean ALL = true; | |
28 | + public static boolean un_main = true; | |
29 | + | |
30 | + @Mod.PreInit | |
31 | + public void preInit(FMLPreInitializationEvent event) | |
32 | + { | |
33 | + File configFile = new File(new File(Minecraft.getMinecraftDir(), "config"), "UncraftSMP.cfg"); | |
34 | + Configuration cfg = new Configuration(configFile); | |
35 | + try | |
36 | + { | |
37 | + cfg.load(); | |
38 | + Property ALLProp = cfg.get(Configuration.CATEGORY_GENERAL, "unall", true); | |
39 | + Property doorProp = cfg.get(Configuration.CATEGORY_GENERAL, "door", 1); | |
40 | + ALLProp.comment = "Item durability values less than the inverse transform."; | |
41 | + doorProp.comment = "Oh, nothing."; | |
42 | + ALL = ALLProp.getBoolean(true); | |
43 | + door = doorProp.getInt(); | |
44 | + } | |
45 | + catch (Exception e) | |
46 | + { | |
47 | + FMLLog.log(Level.SEVERE, e, "Error Message"); | |
48 | + } | |
49 | + finally | |
50 | + { | |
51 | + cfg.save(); | |
52 | + } | |
53 | + } | |
54 | + | |
55 | + @Init | |
56 | + public void load(FMLInitializationEvent event) | |
57 | + { | |
58 | + | |
59 | + int D = 0; | |
60 | + int i; | |
61 | + if (ALL = true)D = -1; | |
62 | + if(ALL = false)D = 0; | |
63 | + if(door>3)door=3; | |
64 | + if(door<1)door=1; | |
65 | + if(un_main){ | |
66 | + switch(door){ | |
67 | + case 1: | |
68 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,6), | |
69 | + new Object[]{ | |
70 | + new ItemStack(Item.doorWood, 1)}); | |
71 | + | |
72 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,6), | |
73 | + new Object[]{ | |
74 | + new ItemStack(Item.doorSteel, 1)}); | |
75 | + | |
76 | + break; | |
77 | + | |
78 | + case 2: | |
79 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,12), | |
80 | + new Object[]{ | |
81 | + new ItemStack(Item.doorWood, 1),new ItemStack(Item.doorWood, 1)}); | |
82 | + | |
83 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,12), | |
84 | + new Object[]{ | |
85 | + new ItemStack(Item.doorSteel, 1), new ItemStack(Item.doorSteel, 1)}); | |
86 | + | |
87 | + break; | |
88 | + | |
89 | + case 3: | |
90 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,18), | |
91 | + new Object[]{ | |
92 | + new ItemStack(Item.doorWood, 1),new ItemStack(Item.doorWood, 1),new ItemStack(Item.doorWood, 1)}); | |
93 | + | |
94 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,18), | |
95 | + new Object[]{ | |
96 | + new ItemStack(Item.doorSteel, 1), new ItemStack(Item.doorSteel, 1), new ItemStack(Item.doorSteel, 1)});// | |
97 | + | |
98 | + break; | |
99 | + | |
100 | + default: | |
101 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,6), | |
102 | + new Object[]{ | |
103 | + new ItemStack(Item.doorWood, 1)});// | |
104 | + | |
105 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,6), | |
106 | + new Object[]{ | |
107 | + new ItemStack(Item.doorSteel, 1)});// | |
108 | + | |
109 | + break; | |
110 | + } | |
111 | + | |
112 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,8), | |
113 | + new Object[]{ | |
114 | + new ItemStack(Block.stoneOvenIdle, 1)});// | |
115 | + | |
116 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,8), | |
117 | + new Object[]{ | |
118 | + new ItemStack(Block.chest, 1)});// | |
119 | + | |
120 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,4), | |
121 | + new Object[]{ | |
122 | + new ItemStack(Block.workbench, 1)});// | |
123 | + | |
124 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,8), | |
125 | + new Object[]{ | |
126 | + new ItemStack(Block.chest, 1)});// | |
127 | + | |
128 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,5), | |
129 | + new Object[]{ | |
130 | + new ItemStack(Item.boat, 1)});// | |
131 | + | |
132 | + GameRegistry.addRecipe(new ItemStack(Block.planks,1), | |
133 | + new Object[]{"XX", | |
134 | + Character.valueOf('X'),Item.stick });// | |
135 | + | |
136 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,5), | |
137 | + new Object[]{ | |
138 | + new ItemStack(Item.minecartEmpty, 1)});// | |
139 | + | |
140 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.reed,1), | |
141 | + new Object[]{ | |
142 | + new ItemStack(Item.paper, 1)});// | |
143 | + | |
144 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,1), | |
145 | + new Object[]{ | |
146 | + new ItemStack(Item.book, 1)});// | |
147 | + | |
148 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.wheat,3), | |
149 | + new Object[]{ | |
150 | + new ItemStack(Item.bread, 1)});// | |
151 | + | |
152 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.reed,1), | |
153 | + new Object[]{ | |
154 | + new ItemStack(Item.sugar, 1)});// | |
155 | + | |
156 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,3), | |
157 | + new Object[]{ | |
158 | + new ItemStack(Block.fence, 1)});// | |
159 | + | |
160 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,13), | |
161 | + new Object[]{ | |
162 | + new ItemStack(Item.sign, 1)});// | |
163 | + | |
164 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.reed,3), | |
165 | + new Object[]{ | |
166 | + new ItemStack(Item.paper, 1)});// | |
167 | + | |
168 | + GameRegistry.addRecipe(new ItemStack(Block.planks,3), | |
169 | + new Object[]{"XX", | |
170 | + Character.valueOf('X'),Block.stairCompactPlanks });// | |
171 | + | |
172 | + GameRegistry.addRecipe(new ItemStack(Block.cobblestone,3), | |
173 | + new Object[]{"XX", | |
174 | + Character.valueOf('X'),Block.stairCompactCobblestone });// | |
175 | + | |
176 | + GameRegistry.addRecipe(new ItemStack(Block.brick,3), | |
177 | + new Object[]{"XX", | |
178 | + Character.valueOf('X'),Block.stairsBrick });// | |
179 | + | |
180 | + GameRegistry.addRecipe(new ItemStack(Block.stoneBrick,3), | |
181 | + new Object[]{"XX", | |
182 | + Character.valueOf('X'),Block.stairsStoneBrickSmooth }); | |
183 | + | |
184 | + GameRegistry.addRecipe(new ItemStack(Block.wood,1), | |
185 | + new Object[]{"X X"," ","X X", | |
186 | + Character.valueOf('X'),Block.planks }); | |
187 | + | |
188 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.goldNugget,8), | |
189 | + new Object[]{ | |
190 | + new ItemStack(Item.appleGold, 1)}); | |
191 | + | |
192 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,8), | |
193 | + new Object[]{ | |
194 | + new ItemStack(Item.appleGold, 1,1)}); | |
195 | + | |
196 | + | |
197 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cloth,3,0), | |
198 | + new Object[]{ | |
199 | + new ItemStack(Item.bed, 1)}); | |
200 | + | |
201 | + GameRegistry.addRecipe(new ItemStack(Item.coal,1,0), | |
202 | + new Object[]{"XX","XX", | |
203 | + Character.valueOf('X'),Block.torchWood }); | |
204 | + | |
205 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,8), | |
206 | + new Object[]{ | |
207 | + new ItemStack(Item.painting, 1)}); | |
208 | + | |
209 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.clay,4), | |
210 | + new Object[]{ | |
211 | + new ItemStack(Block.blockClay, 1)}); | |
212 | + | |
213 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.snowball,4), | |
214 | + new Object[]{ | |
215 | + new ItemStack(Block.blockSnow, 1)}); | |
216 | + | |
217 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.brick,4), | |
218 | + new Object[]{ | |
219 | + new ItemStack(Block.brick, 1)}); | |
220 | + | |
221 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stone,1), | |
222 | + new Object[]{ | |
223 | + new ItemStack(Block.stoneBrick, 1)}); | |
224 | + | |
225 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.sand,4), | |
226 | + new Object[]{ | |
227 | + new ItemStack(Block.sandStone, 1)}); | |
228 | + | |
229 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.redstone,1), | |
230 | + new Object[]{ | |
231 | + new ItemStack(Block.music, 1)}); | |
232 | + | |
233 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,1), | |
234 | + new Object[]{ | |
235 | + new ItemStack(Block.jukebox, 1)}); | |
236 | + | |
237 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.gunpowder,5), | |
238 | + new Object[]{ | |
239 | + new ItemStack(Block.tnt, 1)});//tnt | |
240 | + | |
241 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.pumpkin,1), | |
242 | + new Object[]{ | |
243 | + new ItemStack(Block.pumpkinLantern, 1)}); | |
244 | + | |
245 | + GameRegistry.addRecipe(new ItemStack(Block.planks,3), | |
246 | + new Object[]{"XX","XX", | |
247 | + Character.valueOf('X'),Item.bowlEmpty }); | |
248 | + | |
249 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.lightStoneDust,4), | |
250 | + new Object[]{ | |
251 | + new ItemStack(Block.glowStone, 1)}); | |
252 | + | |
253 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.silk,4), | |
254 | + new Object[]{ | |
255 | + new ItemStack(Block.cloth,1,0)}); | |
256 | + | |
257 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stone,1), | |
258 | + new Object[]{ | |
259 | + new ItemStack(Block.stoneButton, 1)}); | |
260 | + | |
261 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,3), | |
262 | + new Object[]{ | |
263 | + new ItemStack(Item.bucketEmpty, 1)}); | |
264 | + | |
265 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,4), | |
266 | + new Object[]{ | |
267 | + new ItemStack(Item.pocketSundial, 1)}); | |
268 | + | |
269 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,4), | |
270 | + new Object[]{ | |
271 | + new ItemStack(Item.compass, 1)}); | |
272 | + | |
273 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.silk,2), | |
274 | + new Object[]{ | |
275 | + new ItemStack(Item.fishingRod, 1, D)}); | |
276 | + | |
277 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.silk,3), | |
278 | + new Object[]{ | |
279 | + new ItemStack(Item.bow, 1, D)}); | |
280 | + | |
281 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,1), | |
282 | + new Object[]{ | |
283 | + new ItemStack(Block.railPowered, 1)}); | |
284 | + | |
285 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,1), | |
286 | + new Object[]{ | |
287 | + new ItemStack(Block.railDetector, 1)}); | |
288 | + | |
289 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.bow,1), | |
290 | + new Object[]{ | |
291 | + new ItemStack(Block.dispenser, 1)}); | |
292 | + | |
293 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,2), | |
294 | + new Object[]{ | |
295 | + new ItemStack(ItemShears.shears, 1, D)}); | |
296 | + | |
297 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.compass,1), | |
298 | + new Object[]{ | |
299 | + new ItemStack(ItemMap.map, 1)}); | |
300 | + | |
301 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,1), | |
302 | + new Object[]{ | |
303 | + new ItemStack(Block.pistonBase, 1)}); | |
304 | + | |
305 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.slimeBall,1), | |
306 | + new Object[]{ | |
307 | + new ItemStack(Block.pistonStickyBase, 1)}); | |
308 | + | |
309 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,3), | |
310 | + new Object[]{ | |
311 | + new ItemStack(Block.trapdoor, 1)}); | |
312 | + | |
313 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,2), | |
314 | + new Object[]{ | |
315 | + new ItemStack(Block.pressurePlatePlanks, 1)}); | |
316 | + | |
317 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stone,2), | |
318 | + new Object[]{ | |
319 | + new ItemStack(Block.pressurePlateStone, 1)}); | |
320 | + | |
321 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.redstone,1), | |
322 | + new Object[]{ | |
323 | + new ItemStack(Block.torchRedstoneActive, 1)}); | |
324 | + | |
325 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,1), | |
326 | + new Object[]{ | |
327 | + new ItemStack(Block.lever, 1)}); | |
328 | + | |
329 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.wheat,3), | |
330 | + new Object[]{ | |
331 | + new ItemStack(Block.cake, 1)}); | |
332 | + | |
333 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.wheat,3), | |
334 | + new Object[]{ | |
335 | + new ItemStack(Item.cake, 1)}); | |
336 | + | |
337 | + GameRegistry.addRecipe(new ItemStack(Item.wheat,1), | |
338 | + new Object[]{"XX","XX", | |
339 | + Character.valueOf('X'),Item.cookie }); | |
340 | + | |
341 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,14), | |
342 | + new Object[]{ | |
343 | + new ItemStack(Block.cloth,1,1)});// | |
344 | + | |
345 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,13), | |
346 | + new Object[]{ | |
347 | + new ItemStack(Block.cloth,1,2)});// | |
348 | + | |
349 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,12), | |
350 | + new Object[]{ | |
351 | + new ItemStack(Block.cloth,1,3)});// | |
352 | + | |
353 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,11), | |
354 | + new Object[]{ | |
355 | + new ItemStack(Block.cloth,1,4)});// | |
356 | + | |
357 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,10), | |
358 | + new Object[]{ | |
359 | + new ItemStack(Block.cloth,1,5)}); | |
360 | + | |
361 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,9), | |
362 | + new Object[]{ | |
363 | + new ItemStack(Block.cloth,1,6)}); | |
364 | + | |
365 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,8), | |
366 | + new Object[]{ | |
367 | + new ItemStack(Block.cloth,1,7)}); | |
368 | + | |
369 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,7), | |
370 | + new Object[]{ | |
371 | + new ItemStack(Block.cloth,1,8)}); | |
372 | + | |
373 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,6), | |
374 | + new Object[]{ | |
375 | + new ItemStack(Block.cloth,1,9)}); | |
376 | + | |
377 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,5), | |
378 | + new Object[]{ | |
379 | + new ItemStack(Block.cloth,1,10)});// | |
380 | + | |
381 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,4), | |
382 | + new Object[]{ | |
383 | + new ItemStack(Block.cloth,1,11)});// | |
384 | + | |
385 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,3), | |
386 | + new Object[]{ | |
387 | + new ItemStack(Block.cloth,1,12)}); | |
388 | + | |
389 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,2), | |
390 | + new Object[]{ | |
391 | + new ItemStack(Block.cloth,1,13)}); | |
392 | + | |
393 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,1), | |
394 | + new Object[]{ | |
395 | + new ItemStack(Block.cloth,1,14)}); | |
396 | + | |
397 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder,1,0), | |
398 | + new Object[]{ | |
399 | + new ItemStack(Block.cloth,1,15)}); | |
400 | + | |
401 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.book,3), | |
402 | + new Object[]{ | |
403 | + new ItemStack(Block.bookShelf, 1)}); | |
404 | + | |
405 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,5), | |
406 | + new Object[]{ | |
407 | + new ItemStack(Item.helmetLeather, 1,D)}); | |
408 | + | |
409 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,8), | |
410 | + new Object[]{ | |
411 | + new ItemStack(Item.plateLeather, 1,D)}); | |
412 | + | |
413 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,7), | |
414 | + new Object[]{ | |
415 | + new ItemStack(Item.legsLeather, 1,D)});// | |
416 | + | |
417 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.leather,4), | |
418 | + new Object[]{ | |
419 | + new ItemStack(Item.bootsLeather, 1,D)});// | |
420 | + | |
421 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,5), | |
422 | + new Object[]{ | |
423 | + new ItemStack(Item.helmetSteel, 1,D)}); | |
424 | + | |
425 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,8), | |
426 | + new Object[]{ | |
427 | + new ItemStack(Item.plateSteel, 1,D)}); | |
428 | + | |
429 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,7), | |
430 | + new Object[]{ | |
431 | + new ItemStack(Item.legsSteel, 1,D)}); | |
432 | + | |
433 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,4), | |
434 | + new Object[]{ | |
435 | + new ItemStack(Item.bootsSteel, 1,D)}); | |
436 | + | |
437 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,5), | |
438 | + new Object[]{ | |
439 | + new ItemStack(Item.helmetGold, 1,D)}); | |
440 | + | |
441 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,8), | |
442 | + new Object[]{ | |
443 | + new ItemStack(Item.plateGold, 1,D)}); | |
444 | + | |
445 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,7), | |
446 | + new Object[]{ | |
447 | + new ItemStack(Item.legsGold, 1,D)}); | |
448 | + | |
449 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,4), | |
450 | + new Object[]{ | |
451 | + new ItemStack(Item.bootsGold, 1,D)}); | |
452 | + | |
453 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,5), | |
454 | + new Object[]{ | |
455 | + new ItemStack(Item.helmetDiamond, 1,D)}); | |
456 | + | |
457 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,8), | |
458 | + new Object[]{ | |
459 | + new ItemStack(Item.plateDiamond, 1,D)}); | |
460 | + | |
461 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,7), | |
462 | + new Object[]{ | |
463 | + new ItemStack(Item.legsDiamond, 1,D)}); | |
464 | + | |
465 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,4), | |
466 | + new Object[]{ | |
467 | + new ItemStack(Item.bootsDiamond, 1,D)}); | |
468 | + | |
469 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,5), | |
470 | + new Object[]{ | |
471 | + new ItemStack(Item.swordWood, 1,D)}); | |
472 | + | |
473 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,4), | |
474 | + new Object[]{ | |
475 | + new ItemStack(Item.pickaxeWood, 1,D)}); | |
476 | + | |
477 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,2), | |
478 | + new Object[]{ | |
479 | + new ItemStack(Item.shovelWood, 1,D)}); | |
480 | + | |
481 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,4), | |
482 | + new Object[]{ | |
483 | + new ItemStack(Item.axeWood, 1,D)}); | |
484 | + | |
485 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,3), | |
486 | + new Object[]{ | |
487 | + new ItemStack(Item.hoeWood, 1,D)}); | |
488 | + | |
489 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,2), | |
490 | + new Object[]{ | |
491 | + new ItemStack(Item.swordStone, 1,D)}); | |
492 | + | |
493 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,3), | |
494 | + new Object[]{ | |
495 | + new ItemStack(Item.pickaxeStone, 1,D)}); | |
496 | + | |
497 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,1), | |
498 | + new Object[]{ | |
499 | + new ItemStack(Item.shovelStone, 1,D)}); | |
500 | + | |
501 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,3), | |
502 | + new Object[]{ | |
503 | + new ItemStack(Item.axeStone, 1,D)}); | |
504 | + | |
505 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,2), | |
506 | + new Object[]{ | |
507 | + new ItemStack(Item.hoeStone, 1,D)}); | |
508 | + | |
509 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,2), | |
510 | + new Object[]{ | |
511 | + new ItemStack(Item.swordSteel, 1,D)}); | |
512 | + | |
513 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,3), | |
514 | + new Object[]{ | |
515 | + new ItemStack(Item.pickaxeSteel, 1,D)}); | |
516 | + | |
517 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,1), | |
518 | + new Object[]{ | |
519 | + new ItemStack(Item.shovelSteel, 1,D)}); | |
520 | + | |
521 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,3), | |
522 | + new Object[]{ | |
523 | + new ItemStack(Item.axeSteel, 1,D)}); | |
524 | + | |
525 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,2), | |
526 | + new Object[]{ | |
527 | + new ItemStack(Item.hoeSteel, 1,D)}); | |
528 | + | |
529 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,2), | |
530 | + new Object[]{ | |
531 | + new ItemStack(Item.swordGold, 1,D)});// | |
532 | + | |
533 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,3), | |
534 | + new Object[]{ | |
535 | + new ItemStack(Item.pickaxeGold, 1,D)});// | |
536 | + | |
537 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,1), | |
538 | + new Object[]{ | |
539 | + new ItemStack(Item.shovelGold, 1,D)});// | |
540 | + | |
541 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,3), | |
542 | + new Object[]{ | |
543 | + new ItemStack(Item.axeGold, 1,D)});// | |
544 | + | |
545 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotGold,2), | |
546 | + new Object[]{ | |
547 | + new ItemStack(Item.hoeGold, 1,D)});// | |
548 | + | |
549 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,2), | |
550 | + new Object[]{ | |
551 | + new ItemStack(Item.swordDiamond, 1,D)});// | |
552 | + | |
553 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,3), | |
554 | + new Object[]{ | |
555 | + new ItemStack(Item.pickaxeDiamond, 1,D)});// | |
556 | + | |
557 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,1), | |
558 | + new Object[]{ | |
559 | + new ItemStack(Item.shovelDiamond, 1,D)});// | |
560 | + | |
561 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,3), | |
562 | + new Object[]{ | |
563 | + new ItemStack(Item.axeDiamond, 1,D)});// | |
564 | + | |
565 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,2), | |
566 | + new Object[]{ | |
567 | + new ItemStack(Item.hoeDiamond, 1,D)}); | |
568 | + | |
569 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.melon,9), | |
570 | + new Object[]{ | |
571 | + new ItemStack(Block.melon, 1)});// | |
572 | + | |
573 | + GameRegistry.addRecipe(new ItemStack(Item.ingotIron,3), | |
574 | + new Object[]{"XXX","X X","XXX", | |
575 | + Character.valueOf('X'),Block.rail });// | |
576 | + | |
577 | + GameRegistry.addRecipe(new ItemStack(Block.glass,3), | |
578 | + new Object[]{"XXX","X X","XXX", | |
579 | + Character.valueOf('X'),Block.thinGlass });// | |
580 | + | |
581 | + GameRegistry.addRecipe(new ItemStack(Item.ingotIron,3), | |
582 | + new Object[]{"XXX","X X","XXX", | |
583 | + Character.valueOf('X'),Block.fenceIron }); | |
584 | + | |
585 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,4), | |
586 | + new Object[]{ | |
587 | + new ItemStack(Block.fenceGate, 1)});// | |
588 | + | |
589 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.chest,1), | |
590 | + new Object[]{ | |
591 | + new ItemStack(Item.minecartCrate, 1)});// | |
592 | + | |
593 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stoneOvenIdle,1), | |
594 | + new Object[]{ | |
595 | + new ItemStack(Item.minecartPowered, 1)});// | |
596 | + | |
597 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.torchRedstoneActive,2), | |
598 | + new Object[]{ | |
599 | + new ItemStack(Item.redstoneRepeater, 1)});// | |
600 | + | |
601 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.melon,1), | |
602 | + new Object[]{ | |
603 | + new ItemStack(Item.melonSeeds, 1)});// | |
604 | + | |
605 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.bone,1), | |
606 | + new Object[]{ | |
607 | + new ItemStack(Item.dyePowder,1,15),new ItemStack(Item.dyePowder,1,15),new ItemStack(Item.dyePowder,1,15)});// | |
608 | + | |
609 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.pumpkinSeeds,2), | |
610 | + new Object[]{ | |
611 | + new ItemStack(Block.pumpkin, 1)});// | |
612 | + | |
613 | + /* | |
614 | + GameRegistry.AddShapelessRecipe(new ItemStack(Item.pumpkinSeeds,2), | |
615 | + new Object[]{ | |
616 | + new ItemStack(Block.pumpkin, 1)});// | |
617 | + */ | |
618 | + | |
619 | + GameRegistry.addRecipe(new ItemStack(Block.pumpkin,1), | |
620 | + new Object[]{"XX ","XX ", | |
621 | + Character.valueOf('X'),Item.pumpkinSeeds }); | |
622 | + | |
623 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.netherBrick,1), | |
624 | + new Object[]{ | |
625 | + new ItemStack(Block.netherFence, 1)}); | |
626 | + | |
627 | + GameRegistry.addRecipe(new ItemStack(Block.netherBrick,3), | |
628 | + new Object[]{"XX", | |
629 | + Character.valueOf('X'),Block.stairsNetherBrick }); | |
630 | + | |
631 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.blazePowder,1), | |
632 | + new Object[]{ | |
633 | + new ItemStack(Item.magmaCream, 1)});// | |
634 | + | |
635 | + GameRegistry.addRecipe(new ItemStack(Item.blazeRod,1), | |
636 | + new Object[]{"XX", | |
637 | + Character.valueOf('X'),Item.blazePowder });// | |
638 | + | |
639 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.spiderEye,1), | |
640 | + new Object[]{ | |
641 | + new ItemStack(Item.fermentedSpiderEye, 1)});// | |
642 | + | |
643 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.goldNugget,1), | |
644 | + new Object[]{ | |
645 | + new ItemStack(Item.speckledMelon, 1)});// | |
646 | + | |
647 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.glass,1), | |
648 | + new Object[]{ | |
649 | + new ItemStack(Item.glassBottle, 1)});// | |
650 | + | |
651 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron,7), | |
652 | + new Object[]{ | |
653 | + new ItemStack(Item.cauldron, 1)}); | |
654 | + | |
655 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.diamond,2), | |
656 | + new Object[]{ | |
657 | + new ItemStack(Block.enchantmentTable, 1)}); | |
658 | + | |
659 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.blazeRod,1), | |
660 | + new Object[]{ | |
661 | + new ItemStack(Item.brewingStand, 1)}); | |
662 | + | |
663 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.blazePowder,1), | |
664 | + new Object[]{ | |
665 | + new ItemStack(Item.eyeOfEnder, 1)}); | |
666 | + | |
667 | + GameRegistry.addRecipe(new ItemStack(Item.flint,1), | |
668 | + new Object[]{"XX ","XX ", | |
669 | + Character.valueOf('X'),Item.arrow }); | |
670 | + | |
671 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.flint,1), | |
672 | + new Object[]{ | |
673 | + new ItemStack(Block.gravel, 1)}); | |
674 | + | |
675 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.bucketLava,1), | |
676 | + new Object[]{ | |
677 | + new ItemStack(Item.bucketEmpty, 1),new ItemStack(Block.obsidian, 1)}); | |
678 | + | |
679 | + for(i=1;i<16;i++){ | |
680 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cloth,1,0), | |
681 | + new Object[]{ | |
682 | + new ItemStack(Item.bucketWater, 1),new ItemStack(Block.cloth,1,i)});//1 | |
683 | + } | |
684 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.ice,1), | |
685 | + new Object[]{ | |
686 | + new ItemStack(Item.bucketWater, 1),new ItemStack(Item.snowball,1)}); | |
687 | + | |
688 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.gravel,1), | |
689 | + new Object[]{ | |
690 | + new ItemStack(Item.flint, 1)});// | |
691 | + | |
692 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.stick,7), | |
693 | + new Object[]{ | |
694 | + new ItemStack(Block.ladder, 1),new ItemStack(Block.ladder, 1),new ItemStack(Block.ladder, 1)});// | |
695 | + | |
696 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stone,1), | |
697 | + new Object[]{ | |
698 | + new ItemStack(Block.stoneSingleSlab, 1,0),new ItemStack(Block.stoneSingleSlab, 1,0)});// | |
699 | + | |
700 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.sandStone,1), | |
701 | + new Object[]{ | |
702 | + new ItemStack(Block.stoneSingleSlab, 1,1),new ItemStack(Block.stoneSingleSlab, 1,1)});// | |
703 | + | |
704 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1), | |
705 | + new Object[]{ | |
706 | + new ItemStack(Block.woodSingleSlab, 1),new ItemStack(Block.woodSingleSlab, 1)});// | |
707 | + | |
708 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone,1), | |
709 | + new Object[]{ | |
710 | + new ItemStack(Block.stoneSingleSlab, 1,3),new ItemStack(Block.stoneSingleSlab, 1,3)});// | |
711 | + | |
712 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.brick,1), | |
713 | + new Object[]{ | |
714 | + new ItemStack(Block.stoneSingleSlab, 1,4),new ItemStack(Block.stoneSingleSlab, 1,4)});// | |
715 | + | |
716 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.stoneBrick,1), | |
717 | + new Object[]{ | |
718 | + new ItemStack(Block.stoneSingleSlab, 1,5),new ItemStack(Block.stoneSingleSlab, 1,5)}); | |
719 | + | |
720 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1), | |
721 | + new Object[]{ | |
722 | + new ItemStack(Block.woodSingleSlab, 1),new ItemStack(Block.woodSingleSlab, 1)});// | |
723 | + | |
724 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1,1), | |
725 | + new Object[]{ | |
726 | + new ItemStack(Block.woodSingleSlab, 1,1),new ItemStack(Block.woodSingleSlab, 1,1)});// | |
727 | + | |
728 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1,2), | |
729 | + new Object[]{ | |
730 | + new ItemStack(Block.woodSingleSlab, 1,2),new ItemStack(Block.woodSingleSlab, 1,2)});// | |
731 | + | |
732 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks,1,3), | |
733 | + new Object[]{ | |
734 | + new ItemStack(Block.woodSingleSlab, 1,3),new ItemStack(Block.woodSingleSlab, 1,3)});// | |
735 | + | |
736 | + | |
737 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.redstone, 4), | |
738 | + new Object[]{ | |
739 | + new ItemStack(Block.redstoneLampIdle, 1)}); | |
740 | + | |
741 | + GameRegistry.addRecipe(new ItemStack(Block.sandStone,3), | |
742 | + new Object[]{"XX", | |
743 | + Character.valueOf('X'),Block.stairsSandStone });// | |
744 | + | |
745 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron, 1), | |
746 | + new Object[]{ | |
747 | + new ItemStack(Block.tripWireSource, 1)}); | |
748 | + | |
749 | + | |
750 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.eyeOfEnder, 1), | |
751 | + new Object[]{ | |
752 | + new ItemStack(Block.enderChest, 1)}); | |
753 | + | |
754 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.book, 1), | |
755 | + new Object[]{ | |
756 | + new ItemStack(Item.writableBook, 1)}); | |
757 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.ingotIron, 31), | |
758 | + new Object[]{ | |
759 | + new ItemStack(Block.anvil, 1)}); | |
760 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.netherStar, 1), | |
761 | + new Object[]{ | |
762 | + new ItemStack(Block.beacon, 1)}); | |
763 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestone), | |
764 | + new Object[]{ | |
765 | + new ItemStack(Block.cobblestoneWall, 1)}); | |
766 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.planks), | |
767 | + new Object[]{ | |
768 | + new ItemStack(Block.woodenButton)}); | |
769 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.brick, 3), | |
770 | + new Object[]{ | |
771 | + new ItemStack(Item.flowerPot)}); | |
772 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.goldNugget, 8), | |
773 | + new Object[]{ | |
774 | + new ItemStack(Item.goldenCarrot)}); | |
775 | + GameRegistry.addShapelessRecipe(new ItemStack(Block.pumpkin, 1), | |
776 | + new Object[]{ | |
777 | + new ItemStack(Item.pumpkinPie)}); | |
778 | + GameRegistry.addShapelessRecipe(new ItemStack(Item.fishingRod, 1), | |
779 | + new Object[]{ | |
780 | + new ItemStack(Item.carrotOnAStick)}); | |
781 | + | |
782 | + | |
783 | + } | |
784 | + } | |
785 | + | |
786 | + public mod_Uncraft_SMP(){} | |
787 | +} | |
\ No newline at end of file |