package threedprojectiles;

import net.minecraft.init.Bootstrap;
import net.minecraft.init.SoundEvents;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.SoundEvent;

public class soundevents {

	public static final SoundEvent q;
	
	private static SoundEvent getRegisteredSoundEvent(String id)
    {
        SoundEvent soundevent = (SoundEvent)SoundEvent.soundEventRegistry.getObject(new ResourceLocation(id));

            return soundevent;
        }

    static
    {
        if (!Bootstrap.isRegistered())
        {
            throw new RuntimeException("Accessed Sounds before Bootstrap!");
        }
        else
        {
	q = getRegisteredSoundEvent("sounds");
        }
    }
}

@@ -48,22 +48,29 @@
 aft.
-init.Bootstrap
+util.ResourceLocation
 ;%0D%0Ai
@@ -93,12 +93,12 @@
 aft.
-init
+util
 .Sou
@@ -104,17 +104,16 @@
 undEvent
-s
 ;%0D%0Aimpor
@@ -131,69 +131,46 @@
 raft
-.util.ResourceLocation;%0D%0Aimport net.minecraft.util.SoundEvent
+forge.fml.common.registry.GameRegistry
 ;%0D%0A%0D
@@ -198,18 +198,16 @@
 ents %7B%0D%0A
-%0D%0A
 %09public 
@@ -217,14 +217,8 @@
 tic 
-final 
 Soun
@@ -228,17 +228,21 @@
 ent 
-q
+whish
 ;%0D%0A%09%0D%0A%09p
 riva
@@ -241,22 +241,21 @@
 %0D%0A%09p
-rivate
+ublic
  static 
 Soun
@@ -254,461 +254,312 @@
 tic 
-SoundEvent getR
+void r
 egister
-ed
 Sound
-Event(String id)%0D%0A    %7B%0D%0A        SoundEvent soundevent = (SoundEvent)SoundEvent.soundEventRegistry.getObject(new ResourceLocation(id));%0D%0A%0D%0A            return soundevent;%0D%0A        %7D%0D%0A%0D%0A    static%0D%0A    %7B%0D%0A        if (!Bootstrap.isRegistered())%0D%0A        %7B%0D%0A            throw new RuntimeException(%22Accessed Sounds before Bootstrap!%22);%0D%0A        %7D%0D%0A        else%0D%0A        %7B%0D%0A%09q = getRegisteredSoundEvent(%22
+s() %7B%0D%0A%09%09whish = registerSound(%22whish%22);%0D%0A%09%7D%0D%0A%09private static SoundEvent registerSound(String soundName) %7B%0D%0A%09%09final ResourceLocation soundID = new ResourceLocation(threedprojectiles.modid, soundName);%0D%0A%09%09return GameRegistry.register(new SoundEvent(soundID).setRegistryName(
 sound
-s%22
+ID)
 );%0D%0A
-        %7D%0D%0A    
+%09
 %7D%0D%0A%7D

Update soundevents.java