-
-
Notifications
You must be signed in to change notification settings - Fork 23
1.19 Adding, Deleting, or Editing Lunar Events (Start Here!)
Corgi Taco edited this page Sep 5, 2024
·
5 revisions
Enhanced Celestials for 1.19+ uses a data pack configuration. What does this mean? Configurations are per world, more info on data packs can be found here.
You can obtain your world's datapack in 1.19 by running /corgilib worldRegistryExport
.
In 1.20 you can obtain your world's datapack by changing the mod file's extension from .jar
to .zip
and extracting the data
folder with a file explorer.
All lunar events have access to the same configuration though what configurations are used, varies by lunar event.
The data pack location for lunar events is found in the following location: data/<namespace>/enhancedcelestials/lunar/event/<event_file>
Lunar events require the following data fields:
-
dimension_chances
- A list of entries for a given dimension where this lunar event may occur(if this dimension has lunar events) & its chance of occurring in this dimension. -
client_settings
- Uses Client Settings. -
text_components
- Uses Lunar Text Components. -
mob_settings
- Uses Mob Settings. -
drops
- Uses Drop Settings.
{
"client_settings": {
"color_settings": {
"moon_texture_color": "ff0000",
"sky_light_color": "ff0000"
},
"moon_size": 20.0,
"moon_texture_location": "minecraft:textures/environment/moon_phases.png",
"sound_track": "enhancedcelestials:blood_moon"
},
"dimension_chances": {
"minecraft:overworld": {
"chance": 0.1,
"min_number_of_nights_between": 4,
"valid_moon_phases": [
0,
1,
2,
3,
4,
5,
6,
7
]
}
},
"drops": {
"drop_enhancer": { }
},
"mob_settings": {
"blocks_sleeping": {
"config": { },
"type": "enhancedcelestials:any"
},
"lunar_spawn_settings": {
"force_surface_spawning": true,
"mob_spawn_settings": {
"spawn_costs": { },
"spawners": {
"ambient": [],
"axolotls": [],
"creature": [],
"misc": [],
"monster": [],
"underground_water_creature": [],
"water_ambient": [],
"water_creature": []
}
},
"slimes_spawn_everywhere": false,
"use_biome_spawn_settings": true
},
"mob_effects": [],
"spawn_category_multiplier": {
"monster": 4.5
}
},
"text_components": {
"end_notification": {
"component": {
"key": "enhancedcelestials.notification.blood_moon.set"
},
"type": "CHAT"
},
"name": {
"key": "enhancedcelestials.name.blood_moon",
"style": {
"color": "ff5555"
}
},
"start_notification": {
"component": {
"key": "enhancedcelestials.notification.blood_moon.rise",
"style": {
"color": "ff5555"
}
},
"type": "CHAT"
}
}
}