code: public static SoundEvent registerSound(String modId, String soundId)
  	{
  		ResourceLocation rl = new ResourceLocation(modId, soundId);
  		SoundEvent sound = new SoundEvent(rl);
  		sound.setRegistryName(rl);
  		ForgeRegistries.SOUND_EVENTS.register(sound);
  		return sound;
  	}
docs: Registers a new {@link SoundEvent}.
  
  @param modId the mod id
  @param soundId the sound id
  @return the sound event