neuralgia/kubejs/server_scripts/tfc/select_climates.js
Pyritie ec2e3cd3c4
Alpha Release: 0.9.0 (#849)
Signed-off-by: Pyritie <pyritie@gmail.com>
Signed-off-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: Xikaro <os.valerievich@ya.ru>
Co-authored-by: Nebby <78170922+Nebby1999@users.noreply.github.com>
Co-authored-by: Redeix <brayden.j.m.ford@gmail.com>
Co-authored-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: aidie8 <aidenvanzuilen@gmail.com>
Co-authored-by: Xikaro <55663835+Xikaro@users.noreply.github.com>
Co-authored-by: Zleub <debray.arnaud@gmail.com>
2025-04-15 23:27:17 +05:00

25 lines
No EOL
498 B
JavaScript

TFCEvents.selectClimateModel(event => {
let location = event.level.dimensionKey.location();
switch (location) {
/*case 'ad_astra:moon':
event.setModel('tfg:moon_climate');
break;
case 'ad_astra:mars':
event.setModel('tfg:mars_climate');
break;
case 'ad_astra:earth_orbit':
case 'ad_astra:moon_orbit':
case 'ad_astra:mars_orbit':
event.setModel('tfg:orbit_climate');
break;*/
case 'minecraft:the_nether':
event.setModel('tfg:nether_climate');
break;
}
})