Skip to content

Lunar Text Components

Corgi Taco edited this page Aug 17, 2022 · 5 revisions

Responsible for the start/end notifications as well as the name displayed in the lunar forecast.

  • name - Uses Custom Translation Text Component.
  • start_notification Uses a Notification. This field is optional and if not specified will not trigger a chat message at the end of a lunar event.
  • end_notification Uses a Notification. This field is optional and if not specified will not trigger a chat message at the end of a lunar event.

Example

"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"
	}
}