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 revision Previous revision
tutorial:sounds [2020/05/16 19:35]
yanis48 activate -> onUse
tutorial:sounds [2020/06/20 04:04] (current)
hydos add ; to code
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: 2020/06/20 04:04 by hydos