User Tools

Site Tools


tutorial:sounds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:sounds [2020/05/16 19:35] – activate -> onUse yanis48tutorial:sounds [2020/06/20 04:04] – add ; to code hydos
Line 69: Line 69:
 public class ExampleMod { public class ExampleMod {
     [...]     [...]
-    public static final Identifier MY_SOUND_ID = new Identifier("tutorial:my_sound")+    public static final Identifier MY_SOUND_ID = new Identifier("tutorial:my_sound");
     public static SoundEvent MY_SOUND_EVENT = new SoundEvent(MY_SOUND_ID);     public static SoundEvent MY_SOUND_EVENT = new SoundEvent(MY_SOUND_ID);
 } }
tutorial/sounds.txt · Last modified: 2023/01/09 18:20 by slainlight