Game Maker

Sound

A property type for storing a specific Minecraft sound effect.

The Sound property type stores a reference to a vanilla Minecraft sound effect, such as ENTITY_PLAYER_LEVELUP or BLOCK_NOTE_BLOCK_PLING.

  • Default Value: null

Common Use Cases

  • Allowing players to choose their own custom hitmarker sound.
  • Changing the sound effect of a button based on whether it succeeded or failed.
  • Storing a team's anthem to be played when they score.

Operators (in Change Property action)

  • Set: Sets the property to a specific sound chosen from a searchable list of all Minecraft sounds.

Checks (in Property Condition)

  • Equals: Checks if the stored sound is the same as another sound.