Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package io.github.jdrmcm.lepton.sound;
- import io.github.jdrmcm.lepton.Lepton;
- import net.minecraft.sound.SoundEvent;
- import net.minecraft.util.Identifier;
- import net.minecraft.util.registry.Registry;
- public class ModSounds {
- public static final SoundEvent MAGIC_MIRROR_USE = register("magic_mirror_use");
- private static SoundEvent register(String id) {
- return Registry.register(Registry.SOUND_EVENT, id, new SoundEvent(new Identifier(id)));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment