[Mod] Bedrock [bedrock]
- Calinou
- Member
- Posts: 3168
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
[Mod] Bedrock [bedrock]
Another bedrock mod. Fast (using C++ ore generation), also has deepstone (harder to dig, but still diggable) before the bedrock.
Download
GitHub repository (includes issue tracker)
No dependencies on non-default mods.
License for code: zlib
License for textures: CC BY-SA 3.0 Unported
Download
GitHub repository (includes issue tracker)
No dependencies on non-default mods.
License for code: zlib
License for textures: CC BY-SA 3.0 Unported
Re: [Mod] Bedrock [bedrock]
Does this work with nether, or will that need to be modified to work with this?
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Re: [Mod] Bedrock [bedrock]
It doesn't cause problems, but I would raise the height of the berock.gsmanners wrote:Does this work with nether, or will that need to be modified to work with this?
Re: [Mod] Bedrock [bedrock]
Yeah. Actually, I was thinking about raising bedrock to -512 in my own game. That seems fairly sensible, even with the nether.
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Re: [Mod] Bedrock [bedrock]
The never is generated at -5000 by default, so I would set the bedrock height to the same level.gsmanners wrote:Yeah. Actually, I was thinking about raising bedrock to -512 in my own game. That seems fairly sensible, even with the nether.
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Re: [Mod] Bedrock [bedrock]
It's not reliable. Caves, gravel fields and ores "cut" through the bedrock layer.Calinou wrote:Fast and reliable
- Calinou
- Member
- Posts: 3168
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: [Mod] Bedrock [bedrock]
It's reliable as in, you won't be able to get too near the bottom layer (to avoid all the related issues). No single cave goes down more than ~200 blocks...PilzAdam wrote:It's not reliable. Caves, gravel fields and ores "cut" through the bedrock layer.Calinou wrote:Fast and reliable
I made it that way to make it simpler and not ugly (it probably shouldn't be all flat).
Re: [Mod] Bedrock [bedrock]
Hahaha. Wow. And to think you have to put up with such a thin layer of everything in Minecraft. I love this game.
Re: [Mod] Bedrock [bedrock]
I kind of see what can happen with this mod. Pretty cool. You can find yourself suddenly going from a regular cave into a cave lined with bedrock walls.

The above is from this modification:

The above is from this modification:
Code: Select all
minetest.register_ore({
ore_type = "scatter",
ore = "bedrock:bedrock",
wherein = "default:stone",
clust_scarcity = 1*1*1,
clust_num_ores = 5,
clust_size = 2,
height_min = -4500,
height_max = -500,
})
minetest.register_node("bedrock:bedrock", {
description = "Bedrock",
tile_images = {"bedrock_bedrock.png"},
groups = {unbreakable=1},
sounds = default.node_sound_stone_defaults(),
})
- balthazariv
- Member
- Posts: 214
- Joined: Mon Apr 07, 2014 15:48
- Contact:
Re: [Mod] Bedrock
Hello,
Why not change the name of the mod is the same as A simple bedrock mod [20120316] [bedrock].
This would allow us to settle here the two versions.
Thanks
Why not change the name of the mod is the same as A simple bedrock mod [20120316] [bedrock].
This would allow us to settle here the two versions.
Thanks
- Desour
- Member
- Posts: 1527
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [Mod] Bedrock
I need your help. I want to know, how this
direct link works.Calinou wrote:https://dl.dropboxusercontent.com/u/823 ... edrock.zip
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
- Calinou
- Member
- Posts: 3168
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: [Mod] Bedrock
That mod isn't made to be installed with this one. Don't install several mods that do the same thing.balthazariv wrote:Hello,
Why not change the name of the mod is the same as A simple bedrock mod [20120316] [bedrock].
This would allow us to settle here the two versions.
Thanks
It's a public link. Right click → “Copy public link…”.DS-minetest wrote:I need your help. I want to know, how thisdirect link works.Calinou wrote:https://dl.dropboxusercontent.com/u/823 ... edrock.zip
-
- Member
- Posts: 1482
- Joined: Fri Apr 19, 2013 16:19
- GitHub: twoelk
- IRC: twoelk
- In-game: twoelk
- Location: northern Germany
Re: [Mod] Bedrock
butCalinou wrote:...
Don't install several mods that do the same thing.
...
but
but I do like using different kinds of marble (all called simply marble) from different mods in one building :-(
- HeroOfTheWinds
- Member
- Posts: 470
- Joined: Wed Apr 23, 2014 23:16
- GitHub: HeroOfTheWinds
- IRC: WindHero
- Location: Hawaii
Re: [Mod] Bedrock
The difference is this: if there is a component that is shared by multiple mods with different names, it might be OK, provided the actual nodes and functions don't overlap. You can have a mod with marble blocks as well as technic (which includes marble with its many other things), but you shouldn't install, say, floatindev and skylands on the same server, since those cause huge problems for both. (I once had a line of lava blocks floating in mid-air...)twoelk wrote:...but I do like using different kinds of marble (all called simply marble) from different mods in one building :-(Calinou wrote:...
Don't install several mods that do the same thing.
...
But if two mods have the exact same function with the only difference being the texture of the nodes, it is pointless...
Nam ex spatio, omnes res venire possunt.
Why let the ground limit you when you can reach for the sky?
Back to college now, yay for sophomore year schedules. :P
Why let the ground limit you when you can reach for the sky?
Back to college now, yay for sophomore year schedules. :P
- LodeRunner
- Member
- Posts: 25
- Joined: Mon Nov 17, 2014 03:14
- Location: Random Desert Biome
Re: [Mod] Bedrock [bedrock]
After looking at the lua code for this, I think I may have answered my own question, but I'm not sure, being new to lua.
I tried to generate a bedrock layer for my existing singleplayer world--no dice. In the lua file, I noticed that the method called was something like "register_on_generated" or close to that. Does this mean that bedrock can only be created when the world is first generated but not afterward?
Is there a way to change this so that it CAN be generated after the fact? I've played just long enough that I don't really want to ditch my world, but I'm working on modding in such a way that bedrock would solve a few problems. Being new to lua, I don't know quite how to code a change that would allow this and not screw up my existing map.
Any help is appreciated, folks!
I tried to generate a bedrock layer for my existing singleplayer world--no dice. In the lua file, I noticed that the method called was something like "register_on_generated" or close to that. Does this mean that bedrock can only be created when the world is first generated but not afterward?
Is there a way to change this so that it CAN be generated after the fact? I've played just long enough that I don't really want to ditch my world, but I'm working on modding in such a way that bedrock would solve a few problems. Being new to lua, I don't know quite how to code a change that would allow this and not screw up my existing map.
Any help is appreciated, folks!
LodeRunner
Wait...didn't I just explore this cavern?
Wait...didn't I just explore this cavern?
-
- Member
- Posts: 1482
- Joined: Fri Apr 19, 2013 16:19
- GitHub: twoelk
- IRC: twoelk
- In-game: twoelk
- Location: northern Germany
Re: [Mod] Bedrock [bedrock]
there is always WE
- LodeRunner
- Member
- Posts: 25
- Joined: Mon Nov 17, 2014 03:14
- Location: Random Desert Biome
Re: [Mod] Bedrock [bedrock]
twoelk,
Hello and thanks for the tip. I'm not sure that this is exactly the solution that works best in this case, but I may have a use for WE with a related issue.
Thanks again!
Hello and thanks for the tip. I'm not sure that this is exactly the solution that works best in this case, but I may have a use for WE with a related issue.
Thanks again!
LodeRunner
Wait...didn't I just explore this cavern?
Wait...didn't I just explore this cavern?
-
- Member
- Posts: 249
- Joined: Mon Jul 14, 2014 17:13
- In-game: Mazal
- Location: Cullinan, South-Africa
Re: [Mod] Bedrock [bedrock]
How can I find some info on how deep the deepstone spawn and then how deep the bedrock spawn after that when the mod is in default settings ? And maybe pics of how the two looks.
Thanx
Thanx
- Calinou
- Member
- Posts: 3168
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: [Mod] Bedrock [bedrock]
Look at the source code of the mod:Marshall_maz wrote:How can I find some info on how deep the deepstone spawn and then how deep the bedrock spawn after that when the mod is in default settings ?
Code: Select all
minetest.register_ore({
ore_type = "scatter",
ore = "bedrock:bedrock",
wherein = "default:stone",
clust_scarcity = 1 * 1 * 1,
clust_num_ores = 5,
clust_size = 2,
height_min = -30912, -- Engine changes can modify this value.
height_max = -30656, -- This ensures the bottom of the world is not even loaded.
})
minetest.register_ore({
ore_type = "scatter",
ore = "bedrock:deepstone",
wherein = "default:stone",
clust_scarcity = 1 * 1 * 1,
clust_num_ores = 5,
clust_size = 2,
height_min = -30656,
height_max = -30000,
})
minetest.register_node("bedrock:bedrock", {
description = "Bedrock",
tile_images = {"bedrock_bedrock.png"},
drop = "",
groups = {unbreakable = 1, not_in_creative_inventory = 1}, -- For Map Tools' admin pickaxe.
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("bedrock:deepstone", {
description = "Deepstone",
tile_images = {"bedrock_deepstone.png"},
drop = "default:stone", -- Intended.
groups = {cracky = 1},
sounds = default.node_sound_stone_defaults(),
})
Bedrock is from -30656 to -30912.
-
- Member
- Posts: 249
- Joined: Mon Jul 14, 2014 17:13
- In-game: Mazal
- Location: Cullinan, South-Africa
Re: [Mod] Bedrock [bedrock]
Thanx Calinou ,
Ah so what I found was deepstone. Needs to go a little deeper then.
Ah so what I found was deepstone. Needs to go a little deeper then.
- Wuzzy
- Member
- Posts: 4933
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Bedrock [bedrock]
Calinou, your bedrock is likely to be breakable in a lot of events. I know for sure it is breakable by Minetest Game's TNT (0.4.12) as well as Carbone's TNT (unknown version), and your mod does not even bother to try using on_blast.
Minetest Game's TNT supports on_blast, but only in development version, not in 0.4.12 yet.
I don't know about Carbone's current state, but you may want to update your TNT mod in Carbone as well.
People have discovered other ways to destroy bedrock in my mod, so I fixed most of them. Your bedrock is probably vulnerable to the node swapper, the mining lasers from Technic, a jackhammer from some unknown mod. It could be moved by the sticky piston from Mesecons (you can defend against that!).
Your bedrock does not even use the immortal group.
Have a look into my Bedrock mod [bedrock2] thread here: viewtopic.php?f=9&t=11271
It has many infos, especially regarding “hostile” mods.
Long story short, I was able to defend my bedrock against most destructions (not everything yet!) with this code:
Well, unless you intended for your bedrock to be actually be breakable. ;-)
But I wouldn't understand why.
Minetest Game's TNT supports on_blast, but only in development version, not in 0.4.12 yet.
I don't know about Carbone's current state, but you may want to update your TNT mod in Carbone as well.
People have discovered other ways to destroy bedrock in my mod, so I fixed most of them. Your bedrock is probably vulnerable to the node swapper, the mining lasers from Technic, a jackhammer from some unknown mod. It could be moved by the sticky piston from Mesecons (you can defend against that!).
Your bedrock does not even use the immortal group.
Have a look into my Bedrock mod [bedrock2] thread here: viewtopic.php?f=9&t=11271
It has many infos, especially regarding “hostile” mods.
Long story short, I was able to defend my bedrock against most destructions (not everything yet!) with this code:
Code: Select all
minetest.register_node("bedrock2:bedrock", {
description = "Bedrock",
tiles = {"bedrock2_bedrock.png"},
groups = {immortal=1, not_in_creative_inventory=1},
sounds = { footstep = { name = "bedrock2_step", gain = 1 } },
is_ground_content = false,
on_blast = function() end,
can_dig = function() return false end,
diggable = false,
drop = "",
})
if minetest.get_modpath("mesecons_mvps") ~= nil then
mesecon:register_mvps_stopper("bedrock2:bedrock")
end
But I wouldn't understand why.
Please don't write stuff like that, because this does not tell exactly which dependencies are, in fact, required. In this case, it depends on default. Just write something like:No dependencies on non-default mods.
Depends on: default
- davidthecreator
- Member
- Posts: 452
- Joined: Mon Aug 18, 2014 19:48
- GitHub: daviddoesminetest
- In-game: DavidDoesMinetest
- Location: Lithuania
Re: [Mod] Bedrock [bedrock]
I think explosives will work on bedrock so people can go under bedrock bedrock should be explosion resistant but i dont think it is so bedrock is kinda useless if player has tnt and even if it will be tnt resistant explosives from other mods might beat it
- Wuzzy
- Member
- Posts: 4933
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Bedrock [bedrock]
Yes, davidthecreator, TNT indeed blows up this kind of bedrock, even in Carbone. That's what I have basically said in my previous post. xD
And when a TNT mod does not respect on_blast, it is a bug in the TNT mod and should be treated there.
That's a good concern. The solution is to implement on_blast on both sides (the affected node and the explosive). If the bedrock implements on_blast, it has done its part. Now it is up to other TNT mods to respect on_blast as well. By using on_blast, we have at least *some* degree of standardization. It is not perfect yet, but it is better than nothing.if it will be tnt resistant explosives from other mods might beat it
And when a TNT mod does not respect on_blast, it is a bug in the TNT mod and should be treated there.
- Wuzzy
- Member
- Posts: 4933
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [Mod] Bedrock [bedrock]
Here's a bedrock mod which actually works:
[Mod] Indestructible Bedrock Layer [1.0.0] [bedrock2]
:P
Calinou, do you still maintain Carbone NG? Because your bedrock mod is still kinda broken, sorry. It basically has the same issues I had with early versions of my bedrock mod.
Read the thread linked above for some common problems when creating indestructible blocks and how I have solved them. Feel free to re-use some code from this mod.
Basically, it boils down to this in the node definition:
And this to avoid pusing around with pistons (introduces optional dependency on mesecons_mvps):
Your mod is still legit, however, since it takes a slightly different approach to generate bedrock.
[Mod] Indestructible Bedrock Layer [1.0.0] [bedrock2]
:P
Calinou, do you still maintain Carbone NG? Because your bedrock mod is still kinda broken, sorry. It basically has the same issues I had with early versions of my bedrock mod.
Read the thread linked above for some common problems when creating indestructible blocks and how I have solved them. Feel free to re-use some code from this mod.
Basically, it boils down to this in the node definition:
Code: Select all
groups = {immortal=1, not_in_creative_inventory=1},
is_ground_content = false,
on_blast = function() end,
on_destruct = function () end,
can_dig = function() return false end,
diggable = false,
drop = ""
Code: Select all
if minetest.get_modpath("mesecons_mvps") ~= nil then
mesecon:register_mvps_stopper(INSERT_ITEMSTRING_HERE)
end
Re: [Mod] Bedrock [bedrock]
Hi,
The Download link is dead.
Could you re-upload somewhere, please?
Thanks a lot.
The Download link is dead.
Could you re-upload somewhere, please?
Thanks a lot.