You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documented all important API Components down to the Details.
Introduced Lombok Getters.
Added NBT Data Updating to the stopEvent() Method in CelestialEvent.
Removed some redundant Code.
Added Newline to CelestialRegisterEvent as requested.
Copy file name to clipboardExpand all lines: station-world-events-v0/src/main/java/net/modificationstation/stationapi/api/celestial/CelestialEvent.java
Copy file name to clipboardExpand all lines: station-world-events-v0/src/main/java/net/modificationstation/stationapi/api/celestial/CelestialEventActivityState.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@
3
3
importnet.minecraft.nbt.NbtCompound;
4
4
importnet.minecraft.world.PersistentState;
5
5
6
+
/**
7
+
* Manages important NBT data to ensure correct saving and loading of active celestial events.
Copy file name to clipboardExpand all lines: station-world-events-v0/src/main/java/net/modificationstation/stationapi/api/celestial/CelestialTimeManager.java
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,13 @@
4
4
importjava.util.List;
5
5
importjava.util.Random;
6
6
7
+
/**
8
+
* Manages the activation and deactivation of celestial events.
9
+
* Has been injected into WorldProperties using the WorldPropertiesMixin in station-world-events, does not need to be handled by mods.
10
+
* Events need to be added during the registering process.
11
+
* Uses lists to schedule event updates during the correct time of day.
Copy file name to clipboardExpand all lines: station-world-events-v0/src/main/java/net/modificationstation/stationapi/api/event/celestial/CelestialRegisterEvent.java
0 commit comments