Skip to content

Editing Lunar Dimension Settings

Corgi Taco edited this page Sep 5, 2024 · 11 revisions

Controls dimension-wide settings and the default lunar event that's used when other events are not active.

The data pack location for lunar dimension settings is found in the following location: data/<dimension namespace>/enhancedcelestials/lunar/dimension_settings/<dimension path>.

  • default - Lunar Event ID Reference. This value is enhancedcelestials:default in the Overworld by default.
  • tracked_past_events_max_count - How many past events can be tracked before they're permanently deleted. This value is 100 in the Overworld by default.
  • day_length - How long an MC day is, this value is 24000 in the Overworld.
  • year_length_in_days - How long the lunar year is or how far ahead future events are calculated. This value is 100 in the Overworld by default.
  • min_days_between_all_events - How many days between any which event. This value is 100 in the Overworld by default.
  • requires_clear_skies- Whether to only apply Lunar Event effects when skies are clear. If this is true and it rains, lunar effects will not function. This value is true in the Overworld by default.

Data pack file path examples

  • To set the Overworld's lunar settings you'd do: data/minecraft/enhancedcelestials/lunar/dimension_settings/overworld.
  • To set the Aether's lunar settings you'd do: data/aether/enhancedcelestials/lunar/dimension_settings/aether.

Example

{
	"day_length": 24000,
	"default": "enhancedcelestials:default",
	"min_days_between_all_events": 2,
	"requires_clear_skies": true,
	"tracked_past_events_max_count": 100,
	"year_length_in_days": 100
}