[MOD] Coloured Blocks [0.3][cblocks]

Post Reply
User avatar
TenPlus1
Member
Posts: 2867
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

[MOD] Coloured Blocks [0.3][cblocks]

by TenPlus1 » Post

This mod adds coloured wood, stonebrick and glass blocks to the game while still using their own textures, so should work with all texture packs. To craft place 2 wood/stonebrick/glass blocks and then 1 coloured dye.

Image
Depencies: default.

Download: https://notabug.org/TenPlus1/cblocks/archive/master.zip

Source: https://notabug.org/TenPlus1/cblocks

License: MIT

Lucky Blocks: 4
Last edited by TenPlus1 on Thu Jun 07, 2018 10:42, edited 6 times in total.

User avatar
maikerumine
Member
Posts: 1387
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: [MOD] Coloured Blocks [0.1][cblocks]

by maikerumine » Post

This is really cool!
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
Fixer
Member
Posts: 898
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [MOD] Coloured Blocks [0.1][cblocks]

by Fixer » Post

Nice one, however, they are partially transperent in inventory. Also colours look a bit muted (dull/earthy?), like painted stone with thin dust coating or it is just my impression :)

Sokomine
Member
Posts: 4138
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [MOD] Coloured Blocks [0.1][cblocks]

by Sokomine » Post

Added support for my colormachine mod for both block types added by this mod.
A list of my mods can be found here.

User avatar
TenPlus1
Member
Posts: 2867
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [MOD] Coloured Blocks [0.1][cblocks]

by TenPlus1 » Post

Thanks.

User avatar
TenPlus1
Member
Posts: 2867
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [MOD] Coloured Blocks [0.2][cblocks]

by TenPlus1 » Post

Updated to version 0.2 - Added coloured glass and fixed the violet colour shading.

User avatar
Samson1
Member
Posts: 94
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: [MOD] Coloured Blocks [0.2][cblocks]

by Samson1 » Post

This mod's very helpful! Thanks.
Last edited by Samson1 on Tue Nov 06, 2018 15:48, edited 1 time in total.

User avatar
Fixer
Member
Posts: 898
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [MOD] Coloured Blocks [0.2][cblocks]

by Fixer » Post

colouring machine for the poor :}

stoneminer
Member
Posts: 1001
Joined: Sun Oct 18, 2015 19:11
GitHub: sm31
IRC: stoneminer
In-game: stoneminer

Re: [MOD] Coloured Blocks [0.2][cblocks]

by stoneminer » Post

This is a great mod! I love it!
For God so loved the world, that he gave his one and only Son, that whoever believes in him should not perish, but have eternal life.

User avatar
TenPlus1
Member
Posts: 2867
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [MOD] Coloured Blocks [0.2][cblocks]

by TenPlus1 » Post

Samson1, the texture file cblocks.png is the transparent texture for glass, you could always make a new texture for that.

User avatar
Samson1
Member
Posts: 94
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: [MOD] Coloured Blocks [0.2][cblocks]

by Samson1 » Post

TenPlus1 wrote:Samson1, the texture file cblocks.png is the transparent texture for glass, you could always make a new texture for that.
Okay, thank you:)

User avatar
Samson1
Member
Posts: 94
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: [MOD] Coloured Blocks [0.2][cblocks]

by Samson1 » Post

Thats one place I did not lookxD!

User avatar
Samson1
Member
Posts: 94
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: [MOD] Coloured Blocks [0.2][cblocks]

by Samson1 » Post

Samson1 wrote:
TenPlus1 wrote:Samson1, the texture file cblocks.png is the transparent texture for glass, you could always make a new texture for that.
Okay, thank you:)

I deleted the texture and Modified the mod! All I have to do now is get it to support glass panes:)

User avatar
swordpaint12
Member
Posts: 191
Joined: Sat Aug 22, 2015 00:50
In-game: [swordpaint12][Belching_Balladeer]
Location: Foobass, isle of Atlantis, castle of Bardvendelle

Re: [MOD] Coloured Blocks [0.2][cblocks]

by swordpaint12 » Post

Technically, this mod depends on dye and flowers, right? Since it uses dye? I mean, it depends on items in the default game, but just for clarification.
God's not dead; remember that!
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.

I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [MOD] Coloured Blocks [0.2][cblocks]

by Don » Post

swordpaint12 wrote:Technically, this mod depends on dye and flowers, right? Since it uses dye? I mean, it depends on items in the default game, but just for clarification.
It depends on items from the default game yes.
It doesn't derectly depend on the default mod. It depends on dye. Dye depends on flowers. Flowers depend on default.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
maikerumine
Member
Posts: 1387
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: [MOD] Coloured Blocks [0.2][cblocks]

by maikerumine » Post

I love your simple mod so much, I even added stairs and slabs to it!
Image
FORK:
https://github.com/maikerumine/cblocks
I don't know how to do a PR just yet, I wanted to merge my code with yours.

Only shown stone brick here for example, you can also make wood stairs and slabs as well.

Code added:

Code: Select all

--LET US REGISTER STAIRS!
--maikerumine 20160321

--wood
stairs.register_stair_and_slab("wood_" .. colours[i][1], "cblocks:wood_" .. colours[i][1],
		{snappy = 2, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
		{"default_wood.png^[colorize:" .. colours[i][3]},
		"Wooden Stair",
		"Wooden Slab",
		default.node_sound_wood_defaults())


--stonebrick
stairs.register_stair_and_slab("stonebrick_" .. colours[i][1], "cblocks:stonebrick_" .. colours[i][1],
		{cracky = 3},
		{"default_stone_brick.png^[colorize:" .. colours[i][3]},
		"Stone Brick Stair",
		"Stone Brick Slab",
		default.node_sound_stone_defaults())

end
I plan on integrating with circular saw too in the future. :-)

Enjoy!
Attachments
screenshot_20160324_092401.png
(55.01 KiB) Not downloaded yet
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
TenPlus1
Member
Posts: 2867
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [MOD] Coloured Blocks [0.3][cblocks]

by TenPlus1 » Post

Updated to version 0.3:

- Added StairsPlus support (or default stairs if not found)

Sokomine
Member
Posts: 4138
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [MOD] Coloured Blocks [0.3][cblocks]

by Sokomine » Post

The mod doesn't seem to use hardware coloring. Switching to hardware coloring might be difficult for existing worlds but could reduce the amout of nodes registered significantly.
A list of my mods can be found here.

User avatar
cHyper
Member
Posts: 894
Joined: Fri May 06, 2011 08:49
GitHub: cHyper-0815OL
IRC: cHyper cHyper_de
In-game: cHyper cHyper_0815
Location: Austria
Contact:

Re: [MOD] Coloured Blocks [0.2][cblocks]

by cHyper » Post

maikerumine wrote:
I plan on integrating with circular saw too in the future. :-)

Enjoy!
This would be a great feature... nice to read!

User avatar
doyousketch2
Member
Posts: 115
Joined: Tue Feb 05, 2013 16:06
GitHub: doyousketch2
In-game: Sketch2
Location: Ohio
Contact:

Re: [MOD] Coloured Blocks [0.3][cblocks]

by doyousketch2 » Post

wood and stone shouldn't be see-through.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests