Ruined portals in the Nether moved in 1.18

This commit is contained in:
Cubitect 2022-05-25 21:03:53 +02:00
parent 857ac1edd9
commit 8a02e7ae8f
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ int getStructureConfig(int structureType, int mc, StructureConfig *sconf)
*sconf = RUINED_PORTAL_CONFIG; *sconf = RUINED_PORTAL_CONFIG;
return mc >= MC_1_16; return mc >= MC_1_16;
case Ruined_Portal_N: case Ruined_Portal_N:
*sconf = RUINED_PORTAL_N_CONFIG; *sconf = mc <= MC_1_17 ? RUINED_PORTAL_N_CONFIG_117 : RUINED_PORTAL_CONFIG;
return mc >= MC_1_16; return mc >= MC_1_16;
case Monument: case Monument:
*sconf = MONUMENT_CONFIG; *sconf = MONUMENT_CONFIG;

View File

@ -98,7 +98,7 @@ _sc SHIPWRECK_CONFIG = {165745295, 24, 20, Shipwreck, 0};
_sc MONUMENT_CONFIG = { 10387313, 32, 27, Monument, LARGE_STRUCT}; _sc MONUMENT_CONFIG = { 10387313, 32, 27, Monument, LARGE_STRUCT};
_sc MANSION_CONFIG = { 10387319, 80, 60, Mansion, LARGE_STRUCT}; _sc MANSION_CONFIG = { 10387319, 80, 60, Mansion, LARGE_STRUCT};
_sc RUINED_PORTAL_CONFIG = { 34222645, 40, 25, Ruined_Portal, 0}; // overworld _sc RUINED_PORTAL_CONFIG = { 34222645, 40, 25, Ruined_Portal, 0}; // overworld
_sc RUINED_PORTAL_N_CONFIG = { 34222645, 25, 15, Ruined_Portal_N, 0}; // nether _sc RUINED_PORTAL_N_CONFIG_117= { 34222645, 25, 15, Ruined_Portal_N, 0}; // nether
_sc ANCIENT_CITY_CONFIG = { 20083232, 24, 16, Ancient_City, 0}; _sc ANCIENT_CITY_CONFIG = { 20083232, 24, 16, Ancient_City, 0};
_sc TREASURE_CONFIG = { 10387320, 1, 1, Treasure, CHUNK_STRUCT}; _sc TREASURE_CONFIG = { 10387320, 1, 1, Treasure, CHUNK_STRUCT};