/*
 * This file is part of SpongeAPI, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered <https://www.spongepowered.org>
 * Copyright (c) contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package org.spongepowered.api.effect.sound;

import org.spongepowered.api.CatalogType;
import org.spongepowered.api.util.annotation.CatalogedBy;

/**
 * Represents a sound that can be heard on clients.
 */
@CatalogedBy(SoundTypes.class)
public interface SoundType extends CatalogType {

}

@@ -1331,16 +1331,149 @@
 ogType;%0A
+import org.spongepowered.api.GameRegistry;%0Aimport org.spongepowered.api.Sponge;%0Aimport org.spongepowered.api.util.ResettableBuilder;%0A
 import o
@@ -1664,10 +1664,1094 @@
 Type %7B%0A%0A
+    /**%0A     * Creates a new %7B@link Builder%7D for building SoundTypes.%0A     *%0A     * @return A new builder%0A     */%0A    static Builder builder() %7B%0A        return Sponge.getRegistry().createBuilder(Builder.class);%0A    %7D%0A%0A    /**%0A     * Creates a %3Ci%3Enew%3C/i%3ESoundType from the given ID. To fetch existing types,%0A     * use %7B@link GameRegistry#getType(Class, String)%7D.%0A     *%0A     * @param id ID of the sound%0A     * @return A new SoundType object%0A     */%0A    static SoundType of(String id) %7B%0A        return builder().build(id);%0A    %7D%0A%0A    /**%0A     * Builds a SoundType, primarily for sending custom sounds to the client.%0A     */%0A    interface Builder extends ResettableBuilder%3CSoundType, Builder%3E %7B%0A%0A        /**%0A         * %3Cp%3EBuilds a new instance of a %7B@link SoundType%7D.%0A         *%0A         * %3Cp%3ENote: If no domain (indicated by the string before ':') is present%0A         * in the id, the default %22minecraft%22 domain will be used.%3C/p%3E%0A         *%0A         * @param id ID of the sound%0A         * @return A new instance of the sound type%0A         */%0A        SoundType build(String id);%0A%0A    %7D%0A
 %7D%0A

Add SoundType builder