package top.r3944realms.lib39.core.register;

import net.minecraft.resources.Identifier;
import net.minecraft.sounds.SoundEvent;
import top.r3944realms.lib39.Lib39;

import java.util.function.Supplier;

/**
 * The type Lib 39 sound events.
 */
public class Lib39SoundEvents {
    /**
     * The constant RL_DUCK_TOY.
     */
    public static final Identifier RL_DUCK_TOY = Lib39.rl("duck_toy");
    /**
     * The constant DUCK_TOY.
     */
    public static Supplier<SoundEvent> DUCK_TOY;

    /**
     * Gets sub title translate key.
     *
     * @param name the name
     * @return the sub title translate key
     */
    public static String getSubTitleTranslateKey(String name) {
        return "sound." + Lib39.MOD_ID + ".subtitle." + name;
    }
}
