Minecraft Viki
Advertisement
Bu bir belgeleme sayfası ve içeriği ana şablonun sayfasına görünecek. Daha fazla için Şablon:Belgeleme sayfasına bakın
Lua logo
Bu şablon, Lua'da yazılan bir kodla Module:Sound table içeriğini kullanmaktadır.

A template that automatically generates a table for sounds.
Java Sürümü table:

SesAltyazılarKaynakAçıklamaKaynak konumuÇeviri anahtarıSes seviyesiPerdeAzalma
uzaklığı
?????????

Bedrock Sürümü table:

SesKaynakAçıklamaKaynak konumuSes seviyesiPerde
??????

Minecraft Dungeons table:

SesAçıklama
??

Arguments[]

Parameter Function
type bedrock or dungeons. Inserting a table for Bedrock or Dungeons, see above for corresponding output ("load on low memory" = "preload"), if defined has to be defined in the first call (no need to define it on consecutive calls).
nocat Stops table from inserting categories, if defined has to be defined in the first call (no need to define it on consecutive calls).
sound The sound, set to "-" if none in this event.
sound2 - sound20 Additional sounds.
subtitle The subtitle, set to "-" if none in this event.
source The sound category (slider in the sounds menu). Should be one of the following:
  • Master Volume (or master)
  • Music (or music)
  • Jukebox/Note Blocks (or record)
  • Weather (or weather)
  • Hostile Creatures (or hostile)
  • Friendly Creatures (or neutral)
  • Players (or player)
  • Blocks (or block)
  • Ambient/Environment (or ambient)
  • Voice/Speech (or voice)
  • Sound (or sound)

"Sound" is exclusive to Bedrock Edition.

description When the sound plays. Defaults to the subtitle, if it is provided.
id The sound event/namespaced ID (code formatting automatically added).
translationkey The subtitle key/translation key (code formatting automatically added), set to "-" if none in this event.
volume The volume the game plays this sound event at.
pitch The pitch the game plays this sound event at.
distance The attenuation distance the game plays this sound event at.
foot Inserting the table end, always has to be defined in the last call.

Predefined tables[]

  • Block category
  • Entity category
Advertisement