Molang Client General Functions
Name | Description | Usage |
---|---|---|
sound(soundId: ResourceLocation, _: any, pitch: Double?) 3 params but only two used?
|
Plays a sound with soundId identifier. pitch is 1.0 by defaut.
|
q.sound('minecraft:block.chest.close')
|
is_time(min: Int, max: Int): Double
|
Returns 1.0 if time in ticks is in between min and max (inclusive).
|
q.is_time(0, 24000)
|
say(message: String)
|
Puts the message in the chat.
|
q.say('Hello World!')
|