<200 errors. All I have left is a bit of rendering work and the new "off hand" stuff

This commit is contained in:
aidancbrady committed 2016-05-25 17:30:22 -04:00
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)