mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
<200 errors. All I have left is a bit of rendering work and the new "off hand" stuff
This commit is contained in:
1 parent
c73eef6be8
commit
a89b8f666c
152 files changed
+754
-439
No files matched your search
@@ -11,7 +11,7 @@ import net.minecraft.client.audio.ITickableSound;
|
||||
import net.minecraft.client.audio.PositionedSoundRecord;
|
||||
import net.minecraft.client.audio.SoundManager;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.util.SoundEvent;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
@@ -144,9 +144,9 @@ public class SoundHandler
|
||||
return sound.isDonePlaying() && !getSoundMap().containsKey(sound);
|
||||
}
|
||||
|
||||
public static void playSound(String sound)
|
||||
public static void playSound(SoundEvent sound)
|
||||
{
|
||||
playSound(PositionedSoundRecord.create(new ResourceLocation(sound), 1.0F));
|
||||
playSound(PositionedSoundRecord.getMasterRecord(sound, 1.0F));
|
||||
}
|
||||
|
||||
public static void playSound(ISound sound)
|
||||
|
||||
Reference in new issue
Block a user