1 -- mods/default/crafting.lua
7 minetest
.register_craft({
8 output
= 'mcl_core:wood 4',
14 minetest
.register_craft({
15 output
= 'mcl_core:darkwood 4',
17 {'mcl_core:darktree'},
21 minetest
.register_craft({
22 output
= 'mcl_core:junglewood 4',
24 {'mcl_core:jungletree'},
28 minetest
.register_craft({
29 output
= 'mcl_core:acaciawood 4',
31 {'mcl_core:acaciatree'},
35 minetest
.register_craft({
36 output
= 'mcl_core:sprucewood 4',
38 {'mcl_core:sprucetree'},
42 minetest
.register_craft({
43 output
= 'mcl_core:birchwood 4',
45 {'mcl_core:birchtree'},
49 minetest
.register_craft({
51 output
= 'mcl_core:mossycobble',
52 recipe
= { 'mcl_core:cobble', 'mcl_core:vine' },
55 minetest
.register_craft({
57 output
= 'mcl_core:stonebrickmossy',
58 recipe
= { 'mcl_core:stonebrick', 'mcl_core:vine' },
61 minetest
.register_craft({
62 output
= 'mcl_core:coarse_dirt 4',
64 {'mcl_core:dirt', 'mcl_core:gravel'},
65 {'mcl_core:gravel', 'mcl_core:dirt'},
68 minetest
.register_craft({
69 output
= 'mcl_core:coarse_dirt 4',
71 {'mcl_core:gravel', 'mcl_core:dirt'},
72 {'mcl_core:dirt', 'mcl_core:gravel'},
76 minetest
.register_craft({
77 output
= 'mcl_core:sandstonesmooth 4',
79 {'mcl_core:sandstone','mcl_core:sandstone'},
80 {'mcl_core:sandstone','mcl_core:sandstone'},
84 minetest
.register_craft({
85 output
= 'mcl_core:redsandstonesmooth 4',
87 {'mcl_core:redsandstone','mcl_core:redsandstone'},
88 {'mcl_core:redsandstone','mcl_core:redsandstone'},
92 minetest
.register_craft({
93 output
= 'mcl_core:granite_smooth 4',
95 {'mcl_core:granite', 'mcl_core:granite'},
96 {'mcl_core:granite', 'mcl_core:granite'}
100 minetest
.register_craft({
101 output
= 'mcl_core:andesite_smooth 4',
103 {'mcl_core:andesite', 'mcl_core:andesite'},
104 {'mcl_core:andesite', 'mcl_core:andesite'}
108 minetest
.register_craft({
109 output
= 'mcl_core:diorite_smooth 4',
111 {'mcl_core:diorite', 'mcl_core:diorite'},
112 {'mcl_core:diorite', 'mcl_core:diorite'}
116 minetest
.register_craft({
118 output
= 'mcl_core:granite',
119 recipe
= {'mcl_core:diorite', 'mcl_nether:quartz'},
122 minetest
.register_craft({
124 output
= 'mcl_core:andesite 2',
125 recipe
= {'mcl_core:diorite', 'mcl_core:cobble'},
128 minetest
.register_craft({
129 output
= 'mcl_core:diorite 2',
131 {'mcl_core:cobble', 'mcl_nether:quartz'},
132 {'mcl_nether:quartz', 'mcl_core:cobble'},
135 minetest
.register_craft({
136 output
= 'mcl_core:diorite 2',
138 {'mcl_nether:quartz', 'mcl_core:cobble'},
139 {'mcl_core:cobble', 'mcl_nether:quartz'},
143 minetest
.register_craft({
144 output
= "mcl_core:bone_block",
146 { "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
147 { "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
148 { "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
152 minetest
.register_craft({
153 output
= "mcl_dye:white 9",
155 { "mcl_core:bone_block" },
159 minetest
.register_craft({
160 output
= 'mcl_core:stick 4',
169 minetest
.register_craft({
170 output
= 'mcl_core:coalblock',
172 {'mcl_core:coal_lump', 'mcl_core:coal_lump', 'mcl_core:coal_lump'},
173 {'mcl_core:coal_lump', 'mcl_core:coal_lump', 'mcl_core:coal_lump'},
174 {'mcl_core:coal_lump', 'mcl_core:coal_lump', 'mcl_core:coal_lump'},
178 minetest
.register_craft({
179 output
= 'mcl_core:coal_lump 9',
181 {'mcl_core:coalblock'},
185 minetest
.register_craft({
186 output
= 'mcl_core:ironblock',
188 {'mcl_core:iron_ingot', 'mcl_core:iron_ingot', 'mcl_core:iron_ingot'},
189 {'mcl_core:iron_ingot', 'mcl_core:iron_ingot', 'mcl_core:iron_ingot'},
190 {'mcl_core:iron_ingot', 'mcl_core:iron_ingot', 'mcl_core:iron_ingot'},
194 minetest
.register_craft({
195 output
= 'mcl_core:iron_ingot 9',
197 {'mcl_core:ironblock'},
201 minetest
.register_craft({
202 output
= 'mcl_core:goldblock',
204 {'mcl_core:gold_ingot', 'mcl_core:gold_ingot', 'mcl_core:gold_ingot'},
205 {'mcl_core:gold_ingot', 'mcl_core:gold_ingot', 'mcl_core:gold_ingot'},
206 {'mcl_core:gold_ingot', 'mcl_core:gold_ingot', 'mcl_core:gold_ingot'},
210 minetest
.register_craft({
211 output
= 'mcl_core:gold_ingot 9',
213 {'mcl_core:goldblock'},
217 minetest
.register_craft({
218 output
= "mcl_core:gold_nugget 9",
219 recipe
= {{"mcl_core:gold_ingot"}},
222 minetest
.register_craft({
223 output
= "mcl_core:iron_nugget 9",
224 recipe
= {{"mcl_core:iron_ingot"}},
227 minetest
.register_craft({
228 output
= "mcl_core:gold_ingot",
230 {"mcl_core:gold_nugget", "mcl_core:gold_nugget", "mcl_core:gold_nugget"},
231 {"mcl_core:gold_nugget", "mcl_core:gold_nugget", "mcl_core:gold_nugget"},
232 {"mcl_core:gold_nugget", "mcl_core:gold_nugget", "mcl_core:gold_nugget"},
236 minetest
.register_craft({
237 output
= "mcl_core:iron_ingot",
239 {"mcl_core:iron_nugget", "mcl_core:iron_nugget", "mcl_core:iron_nugget"},
240 {"mcl_core:iron_nugget", "mcl_core:iron_nugget", "mcl_core:iron_nugget"},
241 {"mcl_core:iron_nugget", "mcl_core:iron_nugget", "mcl_core:iron_nugget"},
245 minetest
.register_craft({
247 output
= 'mcl_core:iron_nugget',
248 recipe
= 'mobs_mc:iron_horse_armor',
252 minetest
.register_craft({
254 output
= 'mcl_core:gold_nugget',
255 recipe
= 'mobs_mc:gold_horse_armor',
259 minetest
.register_craft({
260 output
= 'mcl_core:sandstone',
262 {'mcl_core:sand', 'mcl_core:sand'},
263 {'mcl_core:sand', 'mcl_core:sand'},
267 minetest
.register_craft({
268 output
= 'mcl_core:redsandstone',
270 {'mcl_core:redsand', 'mcl_core:redsand'},
271 {'mcl_core:redsand', 'mcl_core:redsand'},
275 minetest
.register_craft({
276 output
= 'mcl_core:clay',
278 {'mcl_core:clay_lump', 'mcl_core:clay_lump'},
279 {'mcl_core:clay_lump', 'mcl_core:clay_lump'},
283 minetest
.register_craft({
284 output
= 'mcl_core:brick_block',
286 {'mcl_core:brick', 'mcl_core:brick'},
287 {'mcl_core:brick', 'mcl_core:brick'},
291 minetest
.register_craft({
292 output
= 'mcl_core:paper 3',
294 {'mcl_core:reeds', 'mcl_core:reeds', 'mcl_core:reeds'},
298 minetest
.register_craft({
299 output
= 'mcl_core:ladder 3',
301 {'mcl_core:stick', '', 'mcl_core:stick'},
302 {'mcl_core:stick', 'mcl_core:stick', 'mcl_core:stick'},
303 {'mcl_core:stick', '', 'mcl_core:stick'},
307 minetest
.register_craft({
308 output
= 'mcl_core:stonebrick 4',
310 {'mcl_core:stone', 'mcl_core:stone'},
311 {'mcl_core:stone', 'mcl_core:stone'},
315 minetest
.register_craft({
316 output
= 'mcl_core:lapisblock',
318 {'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
319 {'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
320 {'mcl_dye:blue', 'mcl_dye:blue', 'mcl_dye:blue'},
324 minetest
.register_craft({
325 output
= 'mcl_dye:blue 9',
327 {'mcl_core:lapisblock'},
331 minetest
.register_craft({
332 output
= "mcl_core:emeraldblock",
334 {'mcl_core:emerald', 'mcl_core:emerald', 'mcl_core:emerald'},
335 {'mcl_core:emerald', 'mcl_core:emerald', 'mcl_core:emerald'},
336 {'mcl_core:emerald', 'mcl_core:emerald', 'mcl_core:emerald'},
340 minetest
.register_craft({
341 output
= 'mcl_core:emerald 9',
343 {'mcl_core:emeraldblock'},
347 minetest
.register_craft({
348 output
= "mcl_core:diamondblock",
350 {'mcl_core:diamond', 'mcl_core:diamond', 'mcl_core:diamond'},
351 {'mcl_core:diamond', 'mcl_core:diamond', 'mcl_core:diamond'},
352 {'mcl_core:diamond', 'mcl_core:diamond', 'mcl_core:diamond'},
356 minetest
.register_craft({
357 output
= 'mcl_core:diamond 9',
359 {'mcl_core:diamondblock'},
363 minetest
.register_craft({
364 output
= "mcl_core:apple_gold",
366 {"mcl_core:gold_ingot", "mcl_core:gold_ingot", "mcl_core:gold_ingot"},
367 {"mcl_core:gold_ingot", 'mcl_core:apple', "mcl_core:gold_ingot"},
368 {"mcl_core:gold_ingot", "mcl_core:gold_ingot", "mcl_core:gold_ingot"},
372 minetest
.register_craft({
373 output
= "mcl_core:sugar",
379 minetest
.register_craft({
380 output
= "mcl_core:bowl 4",
382 {"group:wood", "", "group:wood"},
383 {"", "group:wood", ""},
387 minetest
.register_craft({
388 output
= 'mcl_core:snowblock',
390 {'mcl_throwing:snowball', 'mcl_throwing:snowball'},
391 {'mcl_throwing:snowball', 'mcl_throwing:snowball'},
395 minetest
.register_craft({
396 output
= 'mcl_core:snow 6',
398 {'mcl_core:snowblock', 'mcl_core:snowblock', 'mcl_core:snowblock'},
402 -- TODO: Add crafting recipe: 9 ice → 1 packed ice
403 -- Add it when silk touch tools work.
406 -- Crafting (tool repair)
408 minetest
.register_craft({
410 additional_wear
= -mcl_core
.repair
,
417 minetest
.register_craft({
419 output
= "mcl_core:glass",
420 recipe
= "group:sand",
424 minetest
.register_craft({
426 output
= "mcl_core:stone",
427 recipe
= "mcl_core:cobble",
431 minetest
.register_craft({
433 output
= "mcl_core:stone_smooth",
434 recipe
= "mcl_core:stone",
438 minetest
.register_craft({
440 output
= "mcl_core:stonebrickcracked",
441 recipe
= "mcl_core:stonebrick",
445 minetest
.register_craft({
447 output
= "mcl_core:iron_ingot",
448 recipe
= "mcl_core:stone_with_iron",
452 minetest
.register_craft({
454 output
= "mcl_core:gold_ingot",
455 recipe
= "mcl_core:stone_with_gold",
459 minetest
.register_craft({
461 output
= "mcl_core:brick",
462 recipe
= "mcl_core:clay_lump",
466 minetest
.register_craft({
468 output
= "mcl_core:charcoal_lump",
469 recipe
= "group:tree",
473 minetest
.register_craft({
475 output
= "mcl_core:coal_lump",
476 recipe
= "mcl_core:stone_with_coal",
480 minetest
.register_craft({
482 output
= "mcl_core:diamond",
483 recipe
= "mcl_core:stone_with_diamond",
487 minetest
.register_craft({
489 output
= "mcl_core:emerald",
490 recipe
= "mcl_core:stone_with_emerald",
494 minetest
.register_craft({
496 output
= "mcl_dye:blue",
497 recipe
= "mcl_core:stone_with_lapis",
505 minetest
.register_craft({
507 recipe
= "mcl_core:coalblock",
511 minetest
.register_craft({
513 recipe
= "mcl_core:coal_lump",
517 minetest
.register_craft({
519 recipe
= "mcl_core:charcoal_lump",
523 minetest
.register_craft({
525 recipe
= "group:tree",
529 minetest
.register_craft({
531 recipe
= "mcl_core:ladder",
535 minetest
.register_craft({
537 recipe
= "group:wood",
541 minetest
.register_craft({
543 recipe
= "group:sapling",
549 minetest
.register_craft({
551 recipe
= "group:sapling",
555 minetest
.register_craft({
557 recipe
= "mcl_core:bowl",
561 minetest
.register_craft({
563 recipe
= "mcl_core:stick",