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
tutorial:sounds [2024/06/23 16:21] – [Step 3: Create your sound event] slainlighttutorial:sounds [2024/06/23 16:23] (current) slainlight
Line 74: Line 74:
 } }
 </code> </code>
-<p>If you're using version 1.19.2 or below, please replace ''SoundEvent.of'' with ''new SoundEvent''。</p> +If you're using version 1.19.2 or below, please replace ''SoundEvent.of'' with ''new SoundEvent'', and  
-<p>If you're using versions below 1.21, replace ''Identifier.of'' with ''new Identifier''</p>+if you're using versions below 1.21, replace ''Identifier.of'' with ''new Identifier''。 
 ==== Step 4: Register your sound event ==== ==== Step 4: Register your sound event ====
 Register your sound event under the ''SOUND_EVENT'' registry: Register your sound event under the ''SOUND_EVENT'' registry:
tutorial/sounds.1719159700.txt.gz · Last modified: 2024/06/23 16:21 by slainlight