Skip to content

Commit

Permalink
Fix missing fluid interaction sounds
Browse files Browse the repository at this point in the history
Closes #1363
  • Loading branch information
rubensworks committed Jul 20, 2024
1 parent d3eb257 commit 10c609c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package org.cyclops.integrateddynamics.fluid;

import net.minecraft.sounds.SoundEvents;
import net.minecraft.world.item.Rarity;
import net.neoforged.neoforge.common.SoundActions;
import org.cyclops.cyclopscore.config.extendedconfig.FluidConfig;
import org.cyclops.integrateddynamics.IntegratedDynamics;
import org.cyclops.integrateddynamics.RegistryEntries;
Expand All @@ -22,6 +24,10 @@ public FluidLiquidChorusConfig() {
.density(1500)
.viscosity(3000)
.rarity(Rarity.EPIC)
.supportsBoating(true)
.canHydrate(true)
.sound(SoundActions.BUCKET_FILL, SoundEvents.BUCKET_FILL)
.sound(SoundActions.BUCKET_EMPTY, SoundEvents.BUCKET_EMPTY)
.descriptionId("block.integrateddynamics.block_liquid_chorus"))
.bucket(RegistryEntries.ITEM_BUCKET_LIQUID_CHORUS::get)
.block(RegistryEntries.BLOCK_FLUID_LIQUID_CHORUS::get)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package org.cyclops.integrateddynamics.fluid;

import net.minecraft.sounds.SoundEvents;
import net.minecraft.world.item.Rarity;
import net.neoforged.neoforge.common.SoundActions;
import org.cyclops.cyclopscore.config.extendedconfig.FluidConfig;
import org.cyclops.integrateddynamics.IntegratedDynamics;
import org.cyclops.integrateddynamics.RegistryEntries;
Expand All @@ -22,6 +24,10 @@ public FluidMenrilResinConfig() {
.density(1500)
.viscosity(3000)
.rarity(Rarity.RARE)
.supportsBoating(true)
.canHydrate(true)
.sound(SoundActions.BUCKET_FILL, SoundEvents.BUCKET_FILL)
.sound(SoundActions.BUCKET_EMPTY, SoundEvents.BUCKET_EMPTY)
.descriptionId("block.integrateddynamics.block_menril_resin"))
.bucket(RegistryEntries.ITEM_BUCKET_MENRIL_RESIN::get)
.block(RegistryEntries.BLOCK_FLUID_MENRIL_RESIN::get)
Expand Down

0 comments on commit 10c609c

Please sign in to comment.