[Mod] Lucky Block [1.6] [lucky_block]

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

[Mod] Lucky Block [1.6] [lucky_block]

by TenPlus1 » Post

After so many YouTube videos showing Lucky Blocks for Minecraft, I give to you the Lucky Block mod for Minetest :) with an easy to use API for adding new blocks for your own mods and support for some of the already existing mods, this mod can bring goodies and excitement to all players :) To craft a Lucky Block use 1 chest surrounded by gold ingots...

Image

Lucky Blocks included for: default, farming, simple mobs, mobs redo, homedecor, boats, carts, 3d_armor, fire, moreores, bows ... with more available when running certain mods (bakedclay, cblocks, ethereal, farming redo, hoppers, protection redo, teleport potion and more).

ContentDB: https://content.minetest.net/packages/T ... ucky_block

License: MIT

Lucky Blocks: 266 (depending on mods enabled)
Last edited by TenPlus1 on Mon Oct 09, 2023 17:33, edited 48 times in total.

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

Re: Lucky Block [MOD] 0.1

by Don » Post

+1
Play sound fart1? That's funny.
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

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: Lucky Block [MOD] 0.1

by blert2112 » Post

Going to check this out as soon as my new laptop arrives. Always wanted this for my kids as was on my list to make, now I don't have to. Thanks.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Lucky Block [MOD] 0.1

by mahmutelmas06 » Post

+1
My Mods:

Beverage

User avatar
FreeLikeGNU
Member
Posts: 280
Joined: Tue Oct 28, 2014 02:50
GitHub: FreeLikeGNU
IRC: freelikegnu
In-game: FreeLikeGNU

Re: Lucky Block [MOD] 0.1

by FreeLikeGNU » Post

A welcome addition! Bring on the entropy!

Martno
Member
Posts: 80
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: Lucky Block [MOD] 0.1

by Martno » Post

Cool

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.1][lucky_block]

by TenPlus1 » Post

A few screenshots from the Lucky Stairs Challenge on Xanadu server (first one from bonny, 2nd from myself):

Image
Image

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Mod] Lucky Block [0.1][lucky_block]

by Wuzzy » Post

So, is this mod basically the same as Surprise Blocks apart from different dependencies and textures? :P

viewtopic.php?f=11&t=9452

PS: Not that I have anything against this mod, of course.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.1][lucky_block]

by TenPlus1 » Post

Never noticed your mod before wuzzy, although any chance to create a little excitment in Minetest is a good idea :)

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Lucky Block [0.1][lucky_block]

by Inocudom » Post

Lucky Blocks, eh? If you are willing to add those to Minetest, then you might not have a problem with adding the following either:
https://youtu.be/qrKne_sWbVI
What you are seeing in this video that I found is something similar to the infamous Terry Traps of Doom 2. Basically, they kill and respawn the player repeatedly (thus the rapid teleporting around) while spamming annoying text and playing loud, irritating sounds (sometimes, flashing colors are used too.) These are great for players that die during Hunger Games matches as well as punishing griefers and trolls. Of course, they could also use your lucky blocks to get players trapped in them.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.1][lucky_block]

by TenPlus1 » Post

Hrm, somehow I think that players would complain if I added that one, plus anyone troubled with seizures wouldn't be to happy either.

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Lucky Block [0.1][lucky_block]

by blert2112 » Post

I am really digging this mod! Oops, no pun intended. My kids are having a great time with it. Only problem... It's keeping me from updating my other mods. :)

I closed the pull request I made the other night because I was not happy with it. Please check out my current fork when you get the time and let me know what you think. Feel free to use anything from it that you like.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.1][lucky_block]

by TenPlus1 » Post

Thanks blert, will do that... We need more lucky block entries for the initial mod so there are more surprises for players/servers using this mod :)

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Lucky Block [0.1][lucky_block]

by blert2112 » Post

Just up'd a new feature a minute ago, check the schems files. I think you will like it.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.2][lucky_block]

by TenPlus1 » Post

Updated to version 0.2 ... Added commands to the api that purges all lucky blocks, can purge chest items and also add to chest items ... Thanks blert2112.

blert: I'll keep lucky blocks as a single mod to save over-complicating things, although your new commands will help clean the slate so server owners and mod makers can add their own lucky blocks from scratch instead of using defaults which are primarily used as examples anyhow :)

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Lucky Block [0.2][lucky_block]

by blert2112 » Post

That's cool. I will rebase my fork later today.
Did you check out the well?

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.2][lucky_block]

by TenPlus1 » Post

Yeah, the well looked quite nice but have been meaning to add one to lucky_block for a while kinda like the mc one.

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Lucky Block [0.2][lucky_block]

by blert2112 » Post

TenPlus1 wrote:Yeah, the well looked quite nice but have been meaning to add one to lucky_block for a while kinda like the mc one.
I had originally made it to look like the one from MC but it would require either making new nodes for the top or depending on a stairs mod. If I went the stairs route then which of the many, many stairs mods to depend on (stairs, stairs-redo, stairsplus, xdecor, etc)?
If you throw in an item, or jump in, it will strike lightning and clear the water. Have yet to figure out how to make it drop stuff, or explode, or whatever.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.2][lucky_block]

by TenPlus1 » Post

The exploding part is easy thankfully, it's the design of the well I'm tinkering with just now... I also wanted beacons as well, but that is proving to be more difficult than the actual lightning effect I added.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.2][lucky_block]

by TenPlus1 » Post

Updated: Api has been tweaked slightly and some more lucky blocks added.

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Lucky Block [0.1][lucky_block]

by wilkgr76 » Post

Wuzzy wrote:So, is this mod basically the same as Surprise Blocks apart from different dependencies and textures? :P

viewtopic.php?f=11&t=9452

PS: Not that I have anything against this mod, of course.
This one has negative drops, and also has better drops (drops higher quality stuff, diamond swords, bronze swords, etc.)
N/A

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.2][lucky_block]

by TenPlus1 » Post

Added a few new blocks for Ethereal mod and a lucky sandstone platform.

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Lucky Block [0.2][lucky_block]

by wilkgr76 » Post

TenPlus1 wrote:Added a few new blocks for Ethereal mod and a lucky sandstone platform.
Cool! Is it possible to activate them using mesecons? That'd be a handy feature...
N/A

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Lucky Block [0.2][lucky_block]

by TenPlus1 » Post

Some of the functions work only when a player opens the lucky block, so sadly no mesecons support.

Update: Added more 3d_armor and shields blocks.

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: [Mod] Lucky Block [0.2][lucky_block]

by wilkgr76 » Post

TenPlus1 wrote:Some of the functions work only when a player opens the lucky block, so sadly no mesecons support.
Oh, ok. I'll stop being lazy and actually look at the code before I ask questions in the future...... If I remember to...

EDIT: Why is there {"nod", "default:lava_source", 1}, only if the hopper mod is installed?

Code: Select all

-- Hopper mod
if minetest.get_modpath("hopper") then
	lucky_block:add_blocks({
		{"dro", {"hopper:hopper"}, 3},
		{"nod", "default:lava_source", 1},
	})
end
N/A

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 26 guests