Hello Everybody, I'm working on some modifications on the Spherable Generator (of AD5001) for my childs. Link: https://github.com/benda95280/Spherable (Warning: Bad coding inside) What was the main idea behind this ? Build a wonderful world, hard to explore, with ressources, and danger : Sphere could be able to fall Sphere can be prebuild with Schematic Sphere can have differents style (Bubble, Plain, Fill with water or Lava ...) Structure can appear when pushing a special block (From Schematic) Some structure could spawn (Like bridge, see below) What i've been able to implement : Spheres blocks can spawn with many 'Level' desired, with their own type of blocks (Based on height) Differents type of Spheres Plain Sphere Bubble : Bubble can 'explode' with hand or arrow Mystic (?) : When you click on the Rod End block, a schematic is pasted Sphere can be normal, with some strange block under, have some missing block, or some block add on the flat part inside the 'Bubble' Some of them are filled with Water/Air/Lava There can be dust arround them Spawn can be pasted from a schematic A bridge is created at 600 blocks from the center A task used as wind push the player sometimes ... WIP, don't know if i'm going to find a better way or remove it Pictures of current work : Why i'm posting it here ? I'm looking for a little bit of help : Some parts of the code are ugly, many others can be optimized. I've difficulty with the 'facing' of blocks when trying to use stairs or other blocks on the bridge Haven't been able to set SpawnPoint to the middle of the spawn structure Any ideas or other help are welcome (I think block used to build sphere can be change, i hate coweb ...)
#Update - New features : - Spheres can be filled with Air/Water/Lava - Number of sphere generated per chunk increase from 2 to 3 - Dust arround sphere is generated and randomized - Calculation logic for radius of sphere changed - Internal logic for block placement/type of sphere changed
Nop, it's generated 600Block arround the center. Current big schematic is the the spawn as you can see in first post, first picture.
#Update - New features : - Sphere are now organized by type - New type of sphere : TrashedSphere Edit: It seems there is some performance impact now, it's slower than before to generate ...
I'm stuck on how to add tiles. It seems it's not possible to get back to main thread, and be able to do it. I've think to an external loader, and pass info to it, but i'm not able to found the name of the current world generated ... Any idea here ?