Consolidating Development: 0.9.x (#846)
Signed-off-by: Pyritie <pyritie@gmail.com> Signed-off-by: TomPlop <tomdidome@gmail.com> Co-authored-by: Pyritie <Pyritie@gmail.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 <os.valerievich@ya.ru> Co-authored-by: Xikaro <55663835+Xikaro@users.noreply.github.com> Co-authored-by: Zleub <debray.arnaud@gmail.com>
This commit is contained in:
parent
528672e95b
commit
d4c80a4b61
2192 changed files with 104647 additions and 53190 deletions
25
kubejs/server_scripts/tfc/select_climates.js
Normal file
25
kubejs/server_scripts/tfc/select_climates.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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;
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue