Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Supported environments
Links
Creators
Details
Licensed ARR
Created 5 months ago
Updated 5 months ago
Cosmic Horizons addon that adds rotation to the planets
!!! Please read this first: !!!
- For the addon to work properly, you need to add a new "anchor_name" field to all moons in the datapack. This field should match the object_name of the planet the moon orbits.
- The addon also introduces additional fields for planets: "static", "speed", "orbit_roll", "orbit_yaw", and "orbit_pitch". The first disables the new rotation logic for the object, reverting it to vanilla behavior. The second allows you to manually set the rotation speed (default is 1). The speed is inversely proportional to the distance to the object being orbited.
- Also you can specify "default_speed" in "dimensional_data" of cosmos dimension to avoid setting the speed for each planet individually. If "anchor_name" is not specified, the body will automatically orbit the very first object in the solar system file
- You can set "orbit_roll", "orbit_yaw", and "orbit_pitch" to rotate orbit of celestial object.
- For interplanetary travel to work correctly (instead of the standard tp to origin_[xyz]), you need to add the "object_name" field in atmospheric_data. It should match the name assigned to the object in the solar system file
- The system with "anchor_name" is recursive, so you can create moons for moons and so on
Valkyrian Skies and Starlance compatibility:
- VS ships can orbit planets too, for that you need to create new celestial object in datapack and specify ship slug. Here's example of an orbiting VS ship:
"station": {
"object_name": "Station",
"anchor_name": "Earth",
"ship_slug": "the-mogus",
"x": -23000,
"y": 250,
"z": 5000,
"yaw": 0,
"pitch": 0,
"roll": 0,
"orbit_pitch": 45,
"speed": 0.1,
"scale": 0
}