Improve Nether portals #1315

Merged
kay27 merged 33 commits from portals into master 2021-03-22 00:14:39 +01:00
Contributor

Portals:

  • Remove Nether portal caches, MineClone2/MineClone2#1210
  • Store all exits from Nether portals in quick-access table
  • Implement proper Nether portal search, using the table, MineClone2/MineClone2#1055
  • Store Nether portal exits table in mod storage
  • Remove exits from table on Nether portal destruction
  • Align destination area to map chunks 5x5x5 to avoid lots of emerge_area() calls
  • Move dimension layers to better positions, MineClone2/MineClone2#1266
  • Support Nether roof, MineClone2/MineClone2#1267
  • Implement better suitable place search, MineClone2/MineClone2#1126
  • Implement object queue not to trigger the same search again
  • Avoid lava lakes, MineClone2/MineClone2#1126
  • Add /spawnstruct nether_portal chat command
  • Make it runnable
  • Discuss altitudes and fast-travel scale of Y coordinate, MineClone2/MineClone2#1323
  • Debug
  • Finetune
  • Remove debug messages
  • Currently nether portal code in the branch contains 2 alternative searches, ecb_scan_area() and ecb_scan_area_2() - compare them and decide which fits better - second one is better because works 10 times faster for me;

Bonus:

#### Portals: - [x] Remove Nether portal caches, https://git.minetest.land/MineClone2/MineClone2/issues/1210 - [x] Store all exits from Nether portals in quick-access table - [x] Implement proper Nether portal search, using the table, https://git.minetest.land/MineClone2/MineClone2/issues/1055 - [x] Store Nether portal exits table in mod storage - [x] Remove exits from table on Nether portal destruction - [x] Align destination area to [map chunks 5x5x5](https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void) to avoid lots of ```emerge_area()``` calls - [x] ~~Move dimension layers to better positions~~, https://git.minetest.land/MineClone2/MineClone2/issues/1266 - [x] Support Nether roof, https://git.minetest.land/MineClone2/MineClone2/issues/1267 - [x] Implement better suitable place search, https://git.minetest.land/MineClone2/MineClone2/issues/1126 - [x] Implement object queue not to trigger the same search again - [x] Avoid lava lakes, https://git.minetest.land/MineClone2/MineClone2/issues/1126 - [x] Add ```/spawnstruct nether_portal``` chat command - [x] Make it runnable - [x] Discuss altitudes and fast-travel scale of Y coordinate, https://git.minetest.land/MineClone2/MineClone2/issues/1323 - [x] Debug - [x] Finetune - [ ] Remove debug messages - [x] Currently nether portal code in the branch contains 2 alternative searches, ```ecb_scan_area()``` and ```ecb_scan_area_2()``` - compare them and decide which fits better - __second one is better because works 10 times faster for me__; #### Bonus: - [x] Remove water from Nether Caverns, https://git.minetest.land/MineClone2/MineClone2/issues/1350 - [ ] Light Nether roof properly - [ ] Light Nether properly as well (?) - [ ] Add more open-air space to Nether (?), https://git.minetest.land/MineClone2/MineClone2/issues/9
kay27 added this to the 0.72.0 milestone 2021-03-17 01:27:40 +01:00
kay27 self-assigned this 2021-03-17 01:27:40 +01:00
kay27 added 2 commits 2021-03-17 01:27:43 +01:00
AFCMS added this to the 0.72 project 2021-03-17 09:11:03 +01:00
AFCMS added the
mapgen
#P3: elevated
bug
labels 2021-03-17 09:11:45 +01:00
kay27 added 3 commits 2021-03-17 13:40:34 +01:00
47312f86ed Chests now open 90 degrees, regardless
- Removed 'block' check with chests, they will always open 90 degrees regardless of what's behind them
kay27 added 1 commit 2021-03-17 14:49:25 +01:00
kay27 added 1 commit 2021-03-17 15:13:49 +01:00
kay27 added 1 commit 2021-03-17 23:57:41 +01:00
kay27 added 1 commit 2021-03-18 00:37:01 +01:00
kay27 added 1 commit 2021-03-18 07:39:28 +01:00
kay27 added 1 commit 2021-03-18 14:55:39 +01:00
kay27 added 1 commit 2021-03-18 19:30:41 +01:00
kay27 added 1 commit 2021-03-18 20:04:07 +01:00
kay27 added 1 commit 2021-03-18 22:53:04 +01:00
kay27 added 1 commit 2021-03-19 07:07:29 +01:00
kay27 added 1 commit 2021-03-19 09:34:14 +01:00
kay27 added 1 commit 2021-03-19 17:50:03 +01:00
kay27 added 1 commit 2021-03-19 19:29:45 +01:00
kay27 added 1 commit 2021-03-19 19:40:14 +01:00
kay27 added 6 commits 2021-03-20 09:18:57 +01:00
kay27 added 1 commit 2021-03-20 13:55:04 +01:00
kay27 added 1 commit 2021-03-20 14:51:46 +01:00
kay27 added 1 commit 2021-03-21 10:06:10 +01:00
kay27 added 1 commit 2021-03-21 12:00:21 +01:00
kay27 added 1 commit 2021-03-21 20:36:03 +01:00
kay27 added 1 commit 2021-03-21 20:36:17 +01:00
kay27 added 1 commit 2021-03-21 23:48:07 +01:00
kay27 added 1 commit 2021-03-22 00:07:19 +01:00
kay27 changed title from WIP: Improve Nether portals to Improve Nether portals 2021-03-22 00:11:29 +01:00
kay27 merged commit 03feb36558 into master 2021-03-22 00:14:36 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 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#1315
No description provided.