Skip to content

Commit

Permalink
Update to Minecraft 1.20.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ampflower committed Jun 29, 2024
1 parent 7ee2a7d commit a26b336
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ org.gradle.jvmargs=-Xmx1G

# Your project's version
group=gay.ampflower
projectVersion=0.4.3
projectVersion=0.4.4
modrinthId=z23qey0b
minecraftCompatible=1.20.2
minecraftCompatible=1.20.3
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ annotations = "23.0.0"

# https://github.com/LambdAurora/SpruceUI
spruceui = "5.0.3+1.20.2"
modmenu = "8.0.+"
modmenu = "9.0.0-pre.1"

# Minecraft
minecraft_version = "1.20.2"
minecraft_required = "1.20.2"
minecraft_version = "1.20.3"
minecraft_required = "1.20.3"
fabric_loader = "0.15.+"
fabric_api = "0.89.1+1.20.2"
fabric_api = "0.91.1+1.20.3"

# Plugins
loom = "1.+"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

package gay.ampflower.musicmoods.client;// Created 2023-09-01T02:55:14

import it.unimi.dsi.fastutil.floats.FloatUnaryOperator;
import net.minecraft.client.Timer;
import net.minecraft.client.resources.sounds.AbstractTickableSoundInstance;
import net.minecraft.client.resources.sounds.SoundInstance;
Expand All @@ -24,7 +25,7 @@ public class MusicSoundInstance extends AbstractTickableSoundInstance {
*/
private static final float JUMP_LIMIT = 0.025F;

private final Timer timer = new Timer(20F, System.currentTimeMillis());
private final Timer timer = new Timer(20F, System.currentTimeMillis(), FloatUnaryOperator.identity());
private float fadeOut;
private float fadeIn;

Expand Down

0 comments on commit a26b336

Please sign in to comment.