Skip to content

Commit

Permalink
Prepare for minor release
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Oct 30, 2022
1 parent 265385e commit 49803e7
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 20 deletions.
9 changes: 2 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
# Effective - Changelog:

## Effective 1.5 - 1.19.2
- Added Allay trails
- Allay will now leave a colored trail and twinkles when flying around, inspired from the Minecraft Legends announce trailer
- Allay trails can be disabled and trail twinkle density can be configured
- Added golden Allays
- Allays now have a 50% chance of being a golden variant, also inspired from the Minecraft Legends announce trailer
- Can be disabled in the configuration
## Effective 1.4.1 - 1.19.2
- Added glowing plankton waterfall clouds in warm oceans at night
- Fixed splash rims looking incorrectly with Sodium
- Waterfalls no longer play sound if the player cannot see them
- Now includes Satin API
- Migrated the mod to Quilt

## Effective 1.4 - 1.19.2
Expand Down
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,13 @@ dependencies {
modRuntimeOnly "com.terraformersmc:modmenu:${mod_menu_version}"

// midnightlib
modImplementation "maven.modrinth:midnightlib:${midnightlib_version}"
include "maven.modrinth:midnightlib:${midnightlib_version}"
modImplementation include("maven.modrinth:midnightlib:${midnightlib_version}")

// lodestone lib
modImplementation include("com.github.Arathain:LodestoneLib-Quilt:413d9b4712")

// satin
modImplementation "io.github.ladysnake:satin:${satin_version}"
include "io.github.ladysnake:satin:${satin_version}"
modImplementation include("io.github.ladysnake:satin:${satin_version}")

// iris and sodium
modCompileOnly("maven.modrinth:sodium:${project.sodium_version}")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs = -Xmx4G
org.gradle.parallel = true

# Mod Properties
version = 1.5
version = 1.4.1
maven_group = io.github.ladysnake
archives_base_name = effective

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/ladysnake/effective/client/EffectiveConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ public class EffectiveConfig extends MidnightConfig {
@Entry
public static boolean glowsquidHypnotizeAttractCursor = true;

@Hidden
@Entry
public static boolean enableAllayTrails = true;
public static boolean enableAllayTrails = false;

@Hidden
@Entry(min = 0, max = 100)
public static int allayTwinkleDensity = 5;

@Hidden
@Entry
public static boolean additiveAllayTwinkle = true;

@Entry
public static boolean goldenAllays = true;
public static boolean goldenAllays = false;
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void tick(CallbackInfo ci) {
}

public void trackPastPositions() {
Vec3d position = this.getCameraPosVec(MinecraftClient.getInstance().getTickDelta()).add(0f, -.2f, 0f);
Vec3d position = this.getCameraPosVec(MinecraftClient.getInstance().getTickDelta()).add(0f, -.1f, 0f);
if (!pastPositions.isEmpty()) {
Vec3d latest = pastPositions.get(pastPositions.size() - 1);
float distance = (float) latest.distanceTo(position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void render(T livingEntity, float entityYaw, float tickDelta, MatrixStack
ArrayList<Vec3d> positions = new ArrayList<>(((PositionTrackedEntity) allayEntity).getPastPositions());
VFXBuilders.WorldVFXBuilder builder = VFXBuilders.createWorld().setPosColorTexLightmapDefaultFormat();

float size = 0.3f;
float size = 0.2f;
float alpha = 1f;

float x = (float) MathHelper.lerp(tickDelta, allayEntity.prevX, allayEntity.getX());
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/effective/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
"effective.midnightconfig.glowsquidHypnotizeAttractCursor": "Enable glow squid cursor attraction (requires glow squid hypnotizing)",
"effective.midnightconfig.enableAllayTrails": "Enable Allay trails",
"effective.midnightconfig.allayTwinkleDensity": "Allay trail twinkle density (requires Allay trails)",
"effective.midnightconfig.additiveAllayTwinkle": "Enable additive Allay twinkles (improved looks but incompatible with shaders)",
"effective.midnightconfig.goldenAllays": "Enable golden Allays"
}

0 comments on commit 49803e7

Please sign in to comment.