mirror of
https://github.com/TeamMidnightDust/Celestria.git
synced 2025-12-15 23:35:09 +01:00
Celestria 1.1.1 - 1.19.2
Fix clientOnly mode Set scale to 1.5 to work with shaders
This commit is contained in:
@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
|
|||||||
loader_version=0.14.9
|
loader_version=0.14.9
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.1.0
|
mod_version = 1.1.1
|
||||||
maven_group = eu.midnightdust
|
maven_group = eu.midnightdust
|
||||||
archives_base_name = celestria
|
archives_base_name = celestria
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public class CelestriaClient implements ClientModInitializer {
|
|||||||
if (Celestria.shootingStarCooldown > 0) {
|
if (Celestria.shootingStarCooldown > 0) {
|
||||||
--Celestria.shootingStarCooldown;
|
--Celestria.shootingStarCooldown;
|
||||||
}
|
}
|
||||||
if (client.world.isNight() && Celestria.shootingStarCooldown <= 0 && Celestria.random.nextInt(CelestriaConfig.shootingStarChance) == 0) {
|
if (Celestria.shootingStarCooldown <= 0 && (180 < client.world.getSkyAngle(client.getTickDelta()) * 360 && 270 > client.world.getSkyAngle(client.getTickDelta()) * 360) && Celestria.random.nextInt(CelestriaConfig.shootingStarChance) == 0) {
|
||||||
CelestriaClient.shootingStarX = Celestria.random.nextBetween(100, 150);
|
CelestriaClient.shootingStarX = Celestria.random.nextBetween(100, 150);
|
||||||
CelestriaClient.shootingStarY = Celestria.random.nextInt(360);
|
CelestriaClient.shootingStarY = Celestria.random.nextInt(360);
|
||||||
CelestriaClient.shootingStarType = Celestria.random.nextInt(3);
|
CelestriaClient.shootingStarType = Celestria.random.nextInt(3);
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import java.util.List;
|
|||||||
public class CelestriaConfig extends MidnightConfig {
|
public class CelestriaConfig extends MidnightConfig {
|
||||||
@Entry public static boolean sendChatMessages = true;
|
@Entry public static boolean sendChatMessages = true;
|
||||||
@Entry public static boolean enableShootingStars = true;
|
@Entry public static boolean enableShootingStars = true;
|
||||||
@Entry public static float shootingStarScale = 6f;
|
@Entry public static float shootingStarScale = 1.5f;
|
||||||
@Entry public static float shootingStarSpeed = 0.5f;
|
@Entry public static float shootingStarSpeed = 0.5f;
|
||||||
@Entry public static int shootingStarPathLength = 100;
|
@Entry public static int shootingStarPathLength = 100;
|
||||||
@Entry public static int shootingStarChance = 20000;
|
@Entry public static int shootingStarChance = 20000;
|
||||||
|
|||||||
Reference in New Issue
Block a user