Added a getSound method to the RecordType.
import org.spongepowered.api.CatalogType;
import org.spongepowered.api.block.tileentity.Jukebox;
+import org.spongepowered.api.effect.sound.SoundType;
import org.spongepowered.api.text.translation.Translatable;
import org.spongepowered.api.util.annotation.CatalogedBy;
@CatalogedBy(RecordTypes.class)
public interface RecordType extends CatalogType, Translatable {
+ /**
+ * Gets the {@link SoundType} that is used
+ * by this {@link RecordType}.
+ *
+ * @return The sound type
+ */
+ SoundType getSound();
}
