From 6c10045b16f23f584b4ff90bcdf84cf6a705a515 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 8 Feb 2017 19:52:04 +0100 Subject: [PATCH] Add nether bricks and related stuff --- mods/mcl_nether/init.lua | 73 +++++++++++++++++- .../textures/mcl_nether_nether_brick.png | Bin 0 -> 612 bytes .../textures/mcl_nether_netherbrick.png | Bin 0 -> 390 bytes .../textures/mcl_nether_netherrack.png | Bin 0 -> 1166 bytes .../textures/mcl_nether_red_nether_brick.png | Bin 0 -> 15910 bytes mods/mcstair/init.lua | 1 + mods/stairs/init.lua | 10 ++- 7 files changed, 80 insertions(+), 4 deletions(-) create mode 100644 mods/mcl_nether/textures/mcl_nether_nether_brick.png create mode 100644 mods/mcl_nether/textures/mcl_nether_netherbrick.png create mode 100644 mods/mcl_nether/textures/mcl_nether_netherrack.png create mode 100644 mods/mcl_nether/textures/mcl_nether_red_nether_brick.png diff --git a/mods/mcl_nether/init.lua b/mods/mcl_nether/init.lua index e2fae3e883..b6fa059568 100644 --- a/mods/mcl_nether/init.lua +++ b/mods/mcl_nether/init.lua @@ -20,12 +20,43 @@ minetest.register_node("mcl_nether:glowstone", { minetest.register_node("mcl_nether:quartz_ore", { description = "Nether Quartz Ore", stack_max = 64, - tiles = {"mcl_nether_quartz_ore.png"}, + tiles = {"mcl_nether_quartz_ore.png"}, is_ground_content = true, groups = {cracky=2,building_block=1}, drop = 'mcl_nether:quartz', sounds = mcl_core.node_sound_stone_defaults(), }) + +minetest.register_node("mcl_nether:netherrack", { + description = "Netherrack", + stack_max = 64, + tiles = {"mcl_nether_netherrack.png"}, + is_ground_content = true, + groups = {cracky=3,building_block=1}, + sounds = mcl_core.node_sound_stone_defaults(), +}) + +minetest.register_node("mcl_nether:nether_brick", { + -- Original name: Nether Brick + description = "Nether Brick Block", + stack_max = 64, + tiles = {"mcl_nether_nether_brick.png"}, + is_ground_content = false, + groups = {cracky=2,building_block=1}, + sounds = mcl_core.node_sound_stone_defaults(), +}) + +minetest.register_node("mcl_nether:red_nether_brick", { + -- Original name: Red Nether Brick + description = "Red Nether Brick Block", + stack_max = 64, + tiles = {"mcl_nether_red_nether_brick.png"}, + is_ground_content = false, + groups = {cracky=2,building_block=1}, + sounds = mcl_core.node_sound_stone_defaults(), +}) + + minetest.register_node("mcl_nether:quartz_block", { description = "Block of Quartz", @@ -72,7 +103,12 @@ minetest.register_craftitem("mcl_nether:quartz", { groups = { craftitem = 1 }, }) - +minetest.register_craftitem("mcl_nether:netherbrick", { + description = "Nether Brick", + inventory_image = "mcl_nether_netherbrick.png", + stack_max = 64, + groups = { craftitem = 1 }, +}) minetest.register_craft({ type = "cooking", @@ -88,7 +124,7 @@ minetest.register_craft({ {'mcl_nether:quartz', 'mcl_nether:quartz'}, } }) - + minetest.register_craft({ output = 'mcl_nether:quartz_chiseled 2', recipe = { @@ -113,3 +149,34 @@ minetest.register_craft({ } }) +minetest.register_craft({ + type = "cooking", + output = "mcl_nether:netherbrick", + recipe = "mcl_nether:netherrack", + cooktime = 10, +}) + +minetest.register_craft({ + output = "mcl_nether:nether_brick", + recipe = { + {'mcl_nether:netherbrick', 'mcl_nether:netherbrick'}, + {'mcl_nether:netherbrick', 'mcl_nether:netherbrick'}, + } +}) + +minetest.register_craft({ + output = "mcl_nether:red_nether_brick", + recipe = { + {'mcl_nether:nether_wart', 'mcl_nether:netherbrick'}, + {'mcl_nether:netherbrick', 'mcl_nether:nether_wart'}, + } +}) +minetest.register_craft({ + output = "mcl_nether:red_nether_brick", + recipe = { + {'mcl_nether:netherbrick', 'mcl_nether:nether_wart'}, + {'mcl_nether:nether_wart', 'mcl_nether:netherbrick'}, + } +}) + + diff --git a/mods/mcl_nether/textures/mcl_nether_nether_brick.png b/mods/mcl_nether/textures/mcl_nether_nether_brick.png new file mode 100644 index 0000000000000000000000000000000000000000..23cfc741d628b4ae6d66e6714414bc44a6d67968 GIT binary patch literal 612 zcmV-q0-ODbP)wwh~Pa=-`+B^Yr0QLm<+fDD@ri%vP0IUZi z=N|{sg6H#ic9;PNq#W{&1nCgj69RQN#(-ei4J?73iu;;m1~$62umR7M;BhpwuVYtwnQM|1CPU8e~CHmLm90<}%8~1~D5V*1k zyWKxUgS|8YxiU`Wh`=c-706`-P(?}ri<`k^1hE3gC9O&PL_qyY#f?2k1Dz*`CxJBX zbj?6I0MZ3OzfG>)ZDK;D>Z;*T?4;|nUnGLFo}M7~#S;pP y1LdT8muB?p3EUZ=V}M4Al29JV$L0`ytmPMj!g}a!37q@@0000wICH zuPnn3)yH9tM_J$PZVqL*oV!gTyo*!ha`|$_^Pi_qHE2Gj={dtmRmk_k^`~k~#X@RR zuX+68iJBzfxN)`S+Jq{5-HU>GfvTRr15PE^|KYme>s!I+l{>}3!P$u^mG#BLSsT~2 z`f+)vL@iKiyi?%gSQwOeg@t2T;L9Awcqi+Vb_$|1E?@oldr$Epg@$UQf?~z%amqr@ zlk*QgXY$f^S{(Gv=7Fh0Ui^i&BBsuklu6f|ma{N*UfQt5L6vE-iwy6IkOQs;rWpzw f{z?Abdq8?yWEQ`{<^F77P%wD9`njxgN@xNAk4}&< literal 0 HcmV?d00001 diff --git a/mods/mcl_nether/textures/mcl_nether_netherrack.png b/mods/mcl_nether/textures/mcl_nether_netherrack.png new file mode 100644 index 0000000000000000000000000000000000000000..2b1cacb4a2d0d5674d1981d2170bfb007758e133 GIT binary patch literal 1166 zcmV;91abR`P)8$dZt;S#5)=dlb5ba=QCx`BReLOfREaT%v?d~z<^)tkZ86ZM3tjXAB_yE) zvS_nR7J;ln7hPqSZoBG#(`UYCe9z=0@M9d$%skKgU1ze_hlk|p#)kQ-Qh9RiTKxO- z%F68M=%*7C%NH(uQmb(!-!3km^!F2=B`2*GKN9XFU(e1Sw_0Ax1pT(UYIf%5@2{=F zCF|4EBn0L32znd};E-J48EI9kB+zAgjz~}iG?a7hJV}-E@10uB@CX7@2q>9wYY0S- zHyYCaJ3cOIOag9GKpwW+JjgKwJVKV5O&uiT4g^9&@Zs<<_eEC#rJ)ph0W1aHU~drV z1oU6KyKjz;ei~c%XLG?ywMyWE;7Is21Y6bWR$3W=pkJ)jpc97YWv9cBxu)GForML0gMQZW zmcVsDLg4yPKrCMYiwi+GV!rMt2an?*g@7Tl1=6`yfey=$&bgRoI)YBEW^gF5^^WtG zl?rhnGiR}vy$^%}PNH_F4FVm~F@>P)Pyqekd-pOnI0fGELE0gp$FOrBXt&95bWV2# zaE?I~8iEHyLtQ}+{hzycMH~CAyr*`O#@6s)2%vvFGGh4%fM@U4{_Ef%ag*RlMj~1e zN*1=={du!#f<8GpiGbSO|FiefL*V}G{GnOo)%G@tHxlUBz@^*u(jjM#s&uP^{!R_rngSZ3z0Srpr~uZS17Zxh==@5cZ*p6j&fZO2Ta3;laxm zJ99?C?>BC6Cv?Sy06I76kZYvp>o#qZ3P6|XK%tXAZrzGa361owpiGCzd-aFDKEesJ z-f@~quU{QZbHZzfKzFmj!6Wg(VIO8uJ87o(Ezl4!7@RvD%U^aOpjfS(l+U|@9y&)i z1LzxRDG>G+$1OfjIYD4=NTmEYmp(r}o_CQwRSq3Ry?zDxwd(fUBOsTjru^R0gv0)k zUI-j+!YZR`-fm?_w18hiK(G3pi@-6@1MzhHIS*_G*IkJCes)cc*6We-2Vs0mmp`ft gda7DFm;8eNACjIiH4K&fGynhq07*qoM6N<$f(_p+7XSbN literal 0 HcmV?d00001 diff --git a/mods/mcl_nether/textures/mcl_nether_red_nether_brick.png b/mods/mcl_nether/textures/mcl_nether_red_nether_brick.png new file mode 100644 index 0000000000000000000000000000000000000000..33103c6ec7b502b8cff3d9f91984b6a3642545dc GIT binary patch literal 15910 zcmeI3e^3)=8poHP6-@n2EmqqlN>8QB?j|H8F$9pHK@5!n6>ZgQb~j`-WJ3~2z?&+1 z^-vV?2j|t=A2(IcwsZcN!|EMsxv5&L+Fo_^bexV(^-k@noW*u*)$`sYkc1c5aeBSE ze|Bf`<9VO=`98a!_kEt-e|EL0Wct&|W0DaBdAi7;H-ld^@EH^fz8^k&`#l7S$>a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J@`|`1Ai}1IOPCMj6>&j8giR5bFdxV(;(~w(n<6e@ zK9E<$1pyH@1#u-u-UMZx;Pp=*c+c~zaV_s4NUXd_pI>J9v}Mk|lB0yA`cm7Pl?AbB z@o^)kjwQy9Fude&NF-~Cw0$Uf_wnF8hd!%t{Nh|uXWjc(?<-FHapa#mef7`XtZ)2i z)?Z7?mnN;XOdr1D^7I1}j;t>k*V^dcl=jTq`mx_t`z5>Lh+$VcYtMf?V{XjYztUQU7qg0_00Fx z*41ZX-a9j9-hM1;bIRvmUfzA(fGCj{6R@GThb$Vt6|Mg#`$=kcJhDoCWogXfhlk#Z zYu$Tzu?^Y(f~Ui_s{FKc_u22hIFY(xXTtGM^;OLq<1ZJUX_=km8k#%$saZqjj5mL& zQW>sxbWlmRbW_;IHEAvHx{uZ_zrym1DokfK?%lKf?q~D!G1RndP5L*lOuUwyf6cV) z!1ktXp+);e^PU%UqxS{+}R~NcwOZ8=Ln`O8Dv3c7D z^bf67x%Q{(GaC0^dUV#lw>Z5y<7!#c2vy;Z*o#fb2Zkg|mHa{zI_Jv4?dhxeLAw^s zu40Ft$vYc=cYPAd`|eE}wa0vD^rTf<%U>oh_|>bQ+^N5Gy>$+qK5|8C&CWMp_5J(6i5+dm znY+psq^~_zQl0Zd;SA#D%_Qq0?eF%gOeG)q&aFLC7wb#BLFSDwEV4hpYyIi8AIneT Zmy*=)G+fKL7kJ0GsIWx8d#Yu{e*m4Iw0i&m literal 0 HcmV?d00001 diff --git a/mods/mcstair/init.lua b/mods/mcstair/init.lua index 9c6823a503..53de9c4c09 100644 --- a/mods/mcstair/init.lua +++ b/mods/mcstair/init.lua @@ -669,6 +669,7 @@ for _,v in ipairs({ "stonebrick", "quartzblock", "purpur_block", + "nether_brick", }) do mcstair.add("stairs:stair_"..v) end diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index 1163ce113d..31856054f8 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -335,13 +335,21 @@ stairs.register_stair_and_slab("stonebrick", "group:stonebrick", ) stairs.register_stair_and_slab("quartzblock", "group:quartz_block", - {snappy=1,cracky=1,level=2}, + {cracky=3}, {"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"}, "Quartz Stairs", "Quartz Slab", mcl_core.node_sound_stone_defaults(), nil, "mcl_nether:quartz_block" ) +stairs.register_stair_and_slab("nether_brick", "mcl_nether:nether_brick", + {cracky=2}, + {"mcl_nether_nether_brick.png"}, + "Nether Brick Stairs", + "Nether Brick Slab", + mcl_core.node_sound_stone_defaults() +) + stairs.register_stair_and_slab("purpur_block", "mcl_end:purpur_block", {cracky=3}, {"mcl_end_purpur_block.png"},