Skip to content

Commit

Permalink
sound stuff idk
Browse files Browse the repository at this point in the history
  • Loading branch information
MehVahdJukaar committed Jan 18, 2025
1 parent d1b3a37 commit 8acd8f9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.mehvahdjukaar.supplementaries.client;

import net.mehvahdjukaar.moonlight.api.set.BlockTypeRegistry;
import net.mehvahdjukaar.supplementaries.reg.ModSounds;
import net.mehvahdjukaar.supplementaries.reg.ModTags;
import net.minecraft.client.Minecraft;
Expand Down Expand Up @@ -78,7 +79,7 @@ public boolean canPlaySound() {
// why is this needed? because we want a silent sound that gets
// activated on will BUT if we set volume to 0 that wont be enough as the game will still play it
@Override
protected void stop() {
public void stop() {
//insert moe bar meme
// this.soundManager.queueTickingSound(this);
this.stopToggle = true;
Expand Down
1 change: 1 addition & 0 deletions common/src/main/resources/supplementaries.accesswidener
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ accessible method net/minecraft/world/item/BundleItem add (Lnet/minecraft/world/
#dispenser minecart
accessible method net/minecraft/world/level/block/DispenserBlock getDispenseMethod (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/core/dispenser/DispenseItemBehavior;

extendable method net/minecraft/client/resources/sounds/AbstractTickableSoundInstance stop ()V
accessible class net/minecraft/client/gui/MapRenderer$MapInstance

accessible field net/minecraft/world/level/block/AbstractCauldronBlock interactions Ljava/util/Map;
Expand Down
6 changes: 3 additions & 3 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ dependencies {
modCompileOnly("curse.maven:jei-238222:4405345")
modImplementation("curse.maven:jei-fabric-waystones-410902:4950461")
modImplementation("curse.maven:jei-fabric-waystones-owo-lib-532610:4749199")
modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cca_version}"
modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cca_version}"
modImplementation "dev.emi:trinkets:${project.trinkets_version}"
modCompileOnly "dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cca_version}"
modCompileOnly "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cca_version}"
modCompileOnly "dev.emi:trinkets:${project.trinkets_version}"
//modImplementation("curse.maven:biome-makeover-412182:4572458")
//modImplementation("curse.maven:twigs-496913:3943447")
//modImplementation("curse.maven:frame-api-580137:3943404")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ neo_version_range = [47.1,)
loader_version_range = [4,)


moonlight_version = 1.20-2.13.44
moonlight_version = 1.20-2.13.50

required_moonlight_version = 1.20-2.13.25
mixin_extras_version = 0.4.1
Expand Down

0 comments on commit 8acd8f9

Please sign in to comment.