I thought it would be cool to have some block gravity, and needed an idea on how to make it work.
My idea is to make it so that a block falls if it is not somehow attached to bedrock. If it isn't, all the blocks that are attached to it will fall as a solid entity group until one of the blocks is somehow touching bedrock. Confused?
Lets say there is a block of grass on the ground. It is attached to a block dirt underneath it, which is attached to another block of dirt, which is attached to another. If this "chain" of blocks finds its way to a block of bedrock (while avoiding air blocks, water blocks, lava blocks, and "not full blocks") the blocks will stay there.
Another example. If there is a tree, the leaves won't fall, because they are attached to other leaves which are attached to logs which are touching the ground (which is touching bedrock). If you break the bottom log, the tree will fall as a whole until the log is once again touching the ground, where it will stop and all the leaves will stop with it. If the leaf falls on you, you will be inside the leaf, like if gravel fell on you.
The entity would be solid (like iChun's companion cube in the portal gun mod) so you could get crushed.
The game will check all the blocks with the random block updates and manual block updates. If you destroyed the supporting block in a large structure, the block above it (now floating) will try to find it's way to a piece of bedrock, and go upwards. It would scan that there is none, that the piece of land is floating, and make it fall.
This allows minecraft to be a little more realistic without it being much of a hassle (or lag machine) to players, and allows mapmakers or people in creative to still make floating structures (by placing bedrock).
ENTITY GRAVITY
In real life, the further you go up, the higher you can jump. This would be a cool feature, though exaggerated in Minecraft.
From y=0 to y=127, you (and mobs) can jump 1 block. From y=128 to y=191, you can jump 1.5 blocks. From y=192 to y=256, you can jump 2 blocks.
RAIN
It's kinda weird how rain falls from >y=256, over 128 blocks above cloud level, right? Once again to make it easier for any (potentially) generous modders, I thought of a way to simplify it.
My idea is to have 2 layers of clouds: the vanilla clouds raised to y=192 and the storm cloud layer at y=128. The storm cloud would fade in and out slowly from transparent to grey or dark grey depending on if it is a rainstorm or thunderstorm. It would fill the entire sky, and rain would start from there. The black sky you get when you go y=64 would raise to y=128, so there is clear sky above the clouds.
In thunderstorms, lightning would try to hit the tallest block in the chunk.
PLANT GROWTH
One little bit of fertilizer and your tree is now 6 meters tall! Right? No. Bonemeal should be nerfed to accelerate your plant growth by 2.
Trees should have 3 stages of growth instead of 2, and grow 2x slower. You should plant the sapling, and when it grows, the trunk would be like a fence post with the tree 3 blocks tall: fence-like log, fence-like log, then a special leaf (with other leaves around the trunk). The "tree" is now actually the special leaf. The leaf block will check 3 blocks down, and the blocks must be: fence-like log, fence-like log, dirt/grass. It will then grow into the tree we all have come to know in Minecraft.
Growing a birch or pine tree would be the same process.
Jungle trees should have 4 stages of growth; sapling, small tree, jungle tree, giant tree. You plant the sapling, and it grows into the small tree: 4 blocks tall with fence-like logs, and a special leaf (with other leaves around the trunk). It would then grow into the regular jungle tree, the one you get when you plant 1 sapling, but again have a special leaf on the trunk. This stage would last a long time. It would then grow into a giant tree, with the trunk 3x3 instead of 2x2 (to keep center). The leaf would take a 5x5 area, scan down until there is the first block of dirt, destroying leaves. It would then find the bottommost log and grow the 3x3 tree.
Giant spruce trees would work the same way.
THE MOON
Why does the moon move across the sky?!? Simple solution: Move the moon slowly across the sky with proper timed phases, and the stars separate, at the proper pace.
Thanks for reading this! Please comment to keep this post at the top so hopefully a modder will see this and make it!
That is probably the best physics based mod idea i have ever heard i have always hated the floaty block thing
except there is one problem. What if somebody wanted to build a plane or a big ship in the water also skyblock would be a disaster.
That is probably the best physics based mod idea i have ever heard i have always hated the floaty block thing
except there is one problem. What if somebody wanted to build a plane or a big ship in the water also skyblock would be a disaster.
Skyblock wouldn't be problem because there is 1 block of bedrock in the middle of the island, though if you detached it the island would fall. For the boat/plane idea, there could be certain blocks that float on water/air. Though I don't know why you would build a plane if you can't get to it. :/
its sounds really cool, but having the game check every block every tick would kill your game,
i believe that the way to do it would be to just check on block updates and only check if it doesnt have anything underneath, however im still trying to think of a kind of cod to check if wether or not the whole chunk of land is floating. Sounds like a very complicated piece of code, however i still believe it can be done
also if youre going to make the moon move separate from the starfield, so should the sun, and if possible make it so once every few days the moon goes infront of the sun making an eclipse or when the moon and sun are directly opposite there should be a lunar eclipse
its sounds really cool, but having the game check every block every tick would kill your game,
i believe that the way to do it would be to just check on block updates and only check if it doesnt have anything underneath, however im still trying to think of a kind of cod to check if wether or not the whole chunk of land is floating. Sounds like a very complicated piece of code, however i still believe it can be done
also if youre going to make the moon move separate from the starfield, so should the sun, and if possible make it so once every few days the moon goes infront of the sun making an eclipse or when the moon and sun are directly opposite there should be a lunar eclipse
Thanks!
I was thinking about that, and I think the best way of doing it would be to check all the blocks as you were starting up the world and loading new chunks, and then checking all the blocks in a 3x3x3 cube around a block each time it gets placed or destroyed. If you destroyed the supporting block in a large structure, the block above it (now floating) would try to find it's way to a piece of bedrock, and go upwards. It would scan that there is none, that the piece of land is floating, and make it fall. Trying to make the code concept as easy as possible ;D
As for the solar/lunar eclipse, added it in the OP.
Haha! That mod is pretty cool, though to my understanding causes a lot of lag, and the blocks don't all fall at the same time and keep their shape. It is advanced, and that means more work for the modded, but he pulled it off.
i dont knoow.... i dont think i fullly understand but please feel free to educate me
usually everything makes its way to bedrock and if you make a house on grass it is attached to bedrock so what WOULDNT be attached to bedrock it just seems to me like it wouldnt affect much
i dont knoow.... i dont think i fullly understand but please feel free to educate me
usually everything makes its way to bedrock and if you make a house on grass it is attached to bedrock so what WOULDNT be attached to bedrock it just seems to me like it wouldnt affect much
It is mainly for the floating islands minecraft generates and cutting down trees, though you are only looking at 1 part of the mod
It makes minecraft a little more realistic, while not hampering your building much.
BLOCK GRAVITY
I thought it would be cool to have some block gravity, and needed an idea on how to make it work.
My idea is to make it so that a block falls if it is not somehow attached to bedrock. If it isn't, all the blocks that are attached to it will fall as a solid entity group until one of the blocks is somehow touching bedrock. Confused?
Lets say there is a block of grass on the ground. It is attached to a block dirt underneath it, which is attached to another block of dirt, which is attached to another. If this "chain" of blocks finds its way to a block of bedrock (while avoiding air blocks, water blocks, lava blocks, and "not full blocks") the blocks will stay there.
Another example. If there is a tree, the leaves won't fall, because they are attached to other leaves which are attached to logs which are touching the ground (which is touching bedrock). If you break the bottom log, the tree will fall as a whole until the log is once again touching the ground, where it will stop and all the leaves will stop with it. If the leaf falls on you, you will be inside the leaf, like if gravel fell on you.
The entity would be solid (like iChun's companion cube in the portal gun mod) so you could get crushed.
The game will check all the blocks with the random block updates and manual block updates. If you destroyed the supporting block in a large structure, the block above it (now floating) will try to find it's way to a piece of bedrock, and go upwards. It would scan that there is none, that the piece of land is floating, and make it fall.
This allows minecraft to be a little more realistic without it being much of a hassle (or lag machine) to players, and allows mapmakers or people in creative to still make floating structures (by placing bedrock).
ENTITY GRAVITY
In real life, the further you go up, the higher you can jump. This would be a cool feature, though exaggerated in Minecraft.
From y=0 to y=127, you (and mobs) can jump 1 block. From y=128 to y=191, you can jump 1.5 blocks. From y=192 to y=256, you can jump 2 blocks.
RAIN
It's kinda weird how rain falls from >y=256, over 128 blocks above cloud level, right? Once again to make it easier for any (potentially) generous modders, I thought of a way to simplify it.
My idea is to have 2 layers of clouds: the vanilla clouds raised to y=192 and the storm cloud layer at y=128. The storm cloud would fade in and out slowly from transparent to grey or dark grey depending on if it is a rainstorm or thunderstorm. It would fill the entire sky, and rain would start from there. The black sky you get when you go y=64 would raise to y=128, so there is clear sky above the clouds.
In thunderstorms, lightning would try to hit the tallest block in the chunk.
PLANT GROWTH
One little bit of fertilizer and your tree is now 6 meters tall! Right? No. Bonemeal should be nerfed to accelerate your plant growth by 2.
Trees should have 3 stages of growth instead of 2, and grow 2x slower. You should plant the sapling, and when it grows, the trunk would be like a fence post with the tree 3 blocks tall: fence-like log, fence-like log, then a special leaf (with other leaves around the trunk). The "tree" is now actually the special leaf. The leaf block will check 3 blocks down, and the blocks must be: fence-like log, fence-like log, dirt/grass. It will then grow into the tree we all have come to know in Minecraft.
Growing a birch or pine tree would be the same process.
Jungle trees should have 4 stages of growth; sapling, small tree, jungle tree, giant tree. You plant the sapling, and it grows into the small tree: 4 blocks tall with fence-like logs, and a special leaf (with other leaves around the trunk). It would then grow into the regular jungle tree, the one you get when you plant 1 sapling, but again have a special leaf on the trunk. This stage would last a long time. It would then grow into a giant tree, with the trunk 3x3 instead of 2x2 (to keep center). The leaf would take a 5x5 area, scan down until there is the first block of dirt, destroying leaves. It would then find the bottommost log and grow the 3x3 tree.
Giant spruce trees would work the same way.
THE MOON
Why does the moon move across the sky?!? Simple solution: Move the moon slowly across the sky with proper timed phases, and the stars separate, at the proper pace.
Thanks for reading this! Please comment to keep this post at the top so hopefully a modder will see this and make it!
- Brain
C++11 Software Architect / Library Developer
I'm gonna kill boost. -me
except there is one problem. What if somebody wanted to build a plane or a big ship in the water also skyblock would be a disaster.
.
Thanks!
Skyblock wouldn't be problem because there is 1 block of bedrock in the middle of the island, though if you detached it the island would fall. For the boat/plane idea, there could be certain blocks that float on water/air. Though I don't know why you would build a plane if you can't get to it. :/
- Brain
Redefining Minecraft Multiclan
- Brain
EDIT: Grr.... I hate the "no double posting" rule. I really want to bump this thread.
i believe that the way to do it would be to just check on block updates and only check if it doesnt have anything underneath, however im still trying to think of a kind of cod to check if wether or not the whole chunk of land is floating. Sounds like a very complicated piece of code, however i still believe it can be done
also if youre going to make the moon move separate from the starfield, so should the sun, and if possible make it so once every few days the moon goes infront of the sun making an eclipse or when the moon and sun are directly opposite there should be a lunar eclipse
Thanks!
I was thinking about that, and I think the best way of doing it would be to check all the blocks as you were starting up the world and loading new chunks, and then checking all the blocks in a 3x3x3 cube around a block each time it gets placed or destroyed. If you destroyed the supporting block in a large structure, the block above it (now floating) would try to find it's way to a piece of bedrock, and go upwards. It would scan that there is none, that the piece of land is floating, and make it fall. Trying to make the code concept as easy as possible ;D
As for the solar/lunar eclipse, added it in the OP.
- Brain
Haha! That mod is pretty cool, though to my understanding causes a lot of lag, and the blocks don't all fall at the same time and keep their shape. It is advanced, and that means more work for the modded, but he pulled it off.
Physics mods can be done!
- Brain
usually everything makes its way to bedrock and if you make a house on grass it is attached to bedrock so what WOULDNT be attached to bedrock it just seems to me like it wouldnt affect much
It is mainly for the floating islands minecraft generates and cutting down trees, though you are only looking at 1 part of the mod
It makes minecraft a little more realistic, while not hampering your building much.
- Brain
[url][img]http://i.imgur.com/GvPTT.png[/img][/url]
Caves still work, because the ceiling is still attached to bedrock (through the walls), the same way that tree leaves work.
- Brain
Thanks!
I'm getting back into modding, and this time, I'm doing legitimate coding instead of copy-paste, so I may be able to make it.
- Brain
Unfortunately this is a request for a mod, not an actual mod.
- Brain
As someone using it I can assure that it causes much less lag than you'd expect.