Grand mapgen cleanup II & End update #2639

Merged
cora merged 45 commits from mapgen_cleanup into master 2022-09-14 23:08:43 +02:00
Contributor

Clean up the monstrosity that is mcl_mapgen_core/init.lua:

  • replaced most manual block hacks for non v6 mapgens with standard mt ops like decorations and ores
  • moved v6 fixes to separate file
  • moved ore registrations to separate file
  • moved all structures to mcl_structures (new placement option "static_pos" added for exit portal and spawn platform)
  • Enable natural deepslate and copper ore generation
  • Make jungle decorations more random (more schematics)
  • split up api functions and "world structure" (bedrock,void) generation

BONUS (End update)

  • Added Obsidian pillars with crystals on top at end spawn
  • Removed normal end terrain generation around spawn
  • cause it looks like this is going to be the end update: immobilized shulkers and added basic teleportation scheme
  • Add end boats and End Shipwrecks (with shulkers and elytras)
  • Make sure end dragon spawns, fight still works, ensure generation of structures after (open exit portal, gateway portals)

Clean up the monstrosity that is mcl_mapgen_core/init.lua: - [x] replaced most manual block hacks for non v6 mapgens with standard mt ops like decorations and ores - [x] moved v6 fixes to separate file - [x] moved ore registrations to separate file - [x] moved all structures to mcl_structures (new placement option "static_pos" added for exit portal and spawn platform) - [x] Enable natural deepslate and copper ore generation - [x] Make jungle decorations more random (more schematics) - [x] split up api functions and "world structure" (bedrock,void) generation BONUS (End update) - [x] Added Obsidian pillars with crystals on top at end spawn - [x] Removed normal end terrain generation around spawn - [x] cause it looks like this is going to be the end update: immobilized shulkers and added basic teleportation scheme - [x] Add end boats and End Shipwrecks (with shulkers and elytras) - [x] Make sure end dragon spawns, fight still works, ensure generation of structures after (open exit portal, gateway portals) ![](https://mister-muffin.de/p/0Iyo.png)
First-time contributor
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found
2022-09-10 15:07:16: ACTION[Emerge-0]: [mcl_mapgen_core] Generating chunk (48,-27072,-32) ... (127,-26993,47)
2022-09-10 15:07:17: WARNING[Emerge-0]: [mcl_structures] placing end_spawn_obsidian_platform failed at (100,-26999,0)

When I went to the end. Now the thing is, the platform exists now, so it did generate. Also, can't see more than 5 nodes past the platform for whatever reason.

```bash 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: WARNING[Server]: Map::getNodeMetadata(): Block not found 2022-09-10 15:07:16: ACTION[Emerge-0]: [mcl_mapgen_core] Generating chunk (48,-27072,-32) ... (127,-26993,47) 2022-09-10 15:07:17: WARNING[Emerge-0]: [mcl_structures] placing end_spawn_obsidian_platform failed at (100,-26999,0) ``` When I went to the end. Now the thing is, the platform exists now, so it did generate. Also, can't see more than 5 nodes past the platform for whatever reason.
First-time contributor

Havent looked at the jungle trees yet, but other than that and the end issue, everything else seems to work.

Havent looked at the jungle trees yet, but other than that and the end issue, everything else seems to work.
Author
Contributor

yeah the getNodeMetadata (MineClone2/MineClone2#2365) is unrelated i think - didn't happen for me going to the end just now anyways.

And yeah the lighting thing needs to be fixed.

yeah the getNodeMetadata (https://git.minetest.land/MineClone2/MineClone2/issues/2365) is unrelated i think - didn't happen for me going to the end just now anyways. And yeah the lighting thing needs to be fixed.
First-time contributor
2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (43,-27001,0)
2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (34.787730758123,-27001,25.274765848576)
2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (13.287730758123,-27001,40.895430200692)
2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (-13.287730758123,-27001,40.895430200692)
2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (34.787730758123,-27001,-25.274765848576)

Had these, but the spikes still generated.

``` 2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (43,-27001,0) 2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (34.787730758123,-27001,25.274765848576) 2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (13.287730758123,-27001,40.895430200692) 2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (-13.287730758123,-27001,40.895430200692) 2022-09-10 16:51:36: WARNING[Emerge-0]: [mcl_structures] placing end_spike failed at (34.787730758123,-27001,-25.274765848576) ``` Had these, but the spikes still generated.
cora force-pushed mapgen_cleanup from 93110b1512 to aea4d1de23 2022-09-11 01:16:32 +02:00 Compare
cora force-pushed mapgen_cleanup from 3d9b4e96e1 to 1f0873ec82 2022-09-11 12:43:29 +02:00 Compare
cora force-pushed mapgen_cleanup from daaacbeade to 20cb80026d 2022-09-11 19:50:26 +02:00 Compare
cora changed title from WIP: Grand mapgen cleanup II to WIP: Grand mapgen cleanup II & End update 2022-09-11 19:55:30 +02:00
AFCMS added the
mapgen
label 2022-09-11 20:12:29 +02:00
cora force-pushed mapgen_cleanup from 19f11c3898 to f73a179ccc 2022-09-11 21:12:58 +02:00 Compare
cora force-pushed mapgen_cleanup from f73a179ccc to 155a045003 2022-09-11 21:58:39 +02:00 Compare
cora force-pushed mapgen_cleanup from e0e23160d3 to f35bc09e3d 2022-09-12 00:09:35 +02:00 Compare
First-time contributor

Are new lit end return portals supposed to continue generating every time a new dragon is killed?

Are new lit end return portals supposed to continue generating every time a new dragon is killed?
Author
Contributor

well it goes out when you respawn the dragon and then activates again when it's killed.

well it goes out when you respawn the dragon and then activates again when it's killed.
cora changed title from WIP: Grand mapgen cleanup II & End update to Grand mapgen cleanup II & End update 2022-09-12 19:23:19 +02:00
First-time contributor

Beam healing works, but the dragon isnt spawning upon entering the end for the first time.

Beam healing works, but the dragon isnt spawning upon entering the end for the first time.
Author
Contributor

It is (for me at least) - takes a couple seconds generally but if the block containing the exit portal has not been loaded before it spawns.

It is (for me at least) - takes a couple seconds generally but if the block containing the exit portal has not been loaded before it spawns.
First-time contributor

It is (for me at least) - takes a couple seconds generally but if the block containing the exit portal has not been loaded before it spawns.

Its not spawning at all for me, and I loaded the entire island and flew around trying to find it.

> It is (for me at least) - takes a couple seconds generally but if the block containing the exit portal has not been loaded before it spawns. Its not spawning at all for me, and I loaded the entire island and flew around trying to find it.
cora force-pushed mapgen_cleanup from 7f6337ee0e to 01d8511ac2 2022-09-13 19:04:24 +02:00 Compare
Author
Contributor

just tried again and it worked - did the exit portal spawn ? because that triggers the dragon spawning.

just tried again and it worked - did the exit portal spawn ? because that triggers the dragon spawning.
First-time contributor

just tried again and it worked - did the exit portal spawn ? because that triggers the dragon spawning.

Aye, they generate, but no dragon.

> just tried again and it worked - did the exit portal spawn ? because that triggers the dragon spawning. Aye, they generate, but no dragon.
cora force-pushed mapgen_cleanup from 01d8511ac2 to 5214e0c572 2022-09-13 19:08:43 +02:00 Compare
Ghost force-pushed mapgen_cleanup from 5214e0c572 to a0f6156380 2022-09-13 19:10:28 +02:00 Compare
First-time contributor

Ok, I will try it again.

Ok, I will try it again.
Author
Contributor

mmh works for me every single time, both when i tp to the end and when using a portal

mmh works for me every single time, both when i tp to the end and when using a portal
Author
Contributor

I might make the island a bit larger still though - afair in mc there is a good chance the spawn platform is underground within the island.

I might make the island a bit larger still though - afair in mc there is a good chance the spawn platform is underground within the island.
Author
Contributor

Also maybe it should emerge the area around the portal maybe that helps with spawning issues

Also maybe it should emerge the area around the portal maybe that helps with spawning issues
Author
Contributor

Does it say "[mcl_mapgen_core] ERROR! Ender dragon doesn't want to spawn" in the log btw ?

Does it say "[mcl_mapgen_core] ERROR! Ender dragon doesn't want to spawn" in the log btw ?
cora added 1 commit 2022-09-13 19:49:40 +02:00
First-time contributor

How about I code up some advancements to go with this? Hehehehe

Also, created two new worlds, both times the e dragon spawned.

How about I code up some advancements to go with this? Hehehehe Also, created two new worlds, both times the e dragon spawned.
First-time contributor

image

![image](/attachments/f06e9ea8-7be6-400e-8330-81da736a3c79)
First-time contributor

Oh, one thing I forgot to do....look for clay. Time to fire up dragonfireclient.

Oh, one thing I forgot to do....look for clay. Time to fire up dragonfireclient.
First-time contributor

Clay gen works 👍

Clay gen works 👍
cora added 1 commit 2022-09-13 22:41:07 +02:00
cora added 1 commit 2022-09-13 23:09:12 +02:00
cora force-pushed mapgen_cleanup from db06b1e313 to 35bb30d217 2022-09-14 01:55:44 +02:00 Compare
cora force-pushed mapgen_cleanup from 35bb30d217 to 0c518d3bd1 2022-09-14 03:10:37 +02:00 Compare
Ghost approved these changes 2022-09-14 03:42:34 +02:00
Ghost left a comment
First-time contributor

Works. LGTM. Maybe get a second person to test it out too, but doesnt matter.

Works. LGTM. Maybe get a second person to test it out too, but doesnt matter.
Ghost force-pushed mapgen_cleanup from 0c518d3bd1 to eea1695ee3 2022-09-14 22:37:18 +02:00 Compare
cora merged commit 20ccb6d21e into master 2022-09-14 23:08:43 +02:00
cora deleted branch mapgen_cleanup 2022-09-14 23:08:51 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#2639
No description provided.