Skip to main content
Link
Menu
Expand
(external link)
Document
Search
Copy
Copied
MCDevKit
MCDevKit
CommandLang
Getting started
Annotations
OnQuery
OnQueryChange
Query
Language Features
Constants
for
switch
Special Functions
debug
exists
isBlock
parse
particle
random
summon
tell
title
Tutorials
Physical Scoreboard
Using with Regolith
JSON Templating Engine
Basic Actions
Template Options
Modules in JSON Templates
Assertions
Basic types
CLI options
Merge operations
Expressions
Boolean Expressions
Order of operations
Array functions
all
any
append
asArray
contains
count
encode
filter
findFirst
findLast
flatMap
indexOf
keys
lastIndexOf
map
max
min
none
prepend
random
range
reduce
remove
removeBack
removeFront
reverse
sort
sublist
sum
values
Audio functions
audioDuration
Color functions
arrayToHex
greyscale
hexToArray
hsl
File functions
fileBaseName
fileExists
fileExtension
fileList
fileListRecurse
fileName
filePath
isDir
load
Image functions
imageHeight
imageWidth
JsonPath functions
JsonPath
parent
Math functions
abs
acos
asin
atan
atan2
bitshiftLeft
bitshiftRight
bitwiseAnd
bitwiseNot
bitwiseOr
bitwiseXor
ceil
clamp
cos
floor
fromHex
max
min
mod
numberOfDigits
pi
pow
random
randomInt
rotationToNormal
round
sin
sqrt
tan
toHex
wrap
Minecraft functions
findItemInfoById
findItemInfoByName
getAllItems
getBPFile
getItemInfo
getLatestBPFile
getLatestRPFile
getMinecraftInstallDir
getRPFile
listBPFiles
listLatestBPFiles
listLatestRPFiles
listRPFiles
Script functions
println
Semver functions
semver
String functions
capitalize
chars
contains
endsWith
format
hash
indexOf
join
lastIndexOf
length
number
regexMatch
regexReplace
replace
split
startsWith
substring
swapCase
title
toLowerCase
toUpperCase
trim
Type functions
asBoolean
asNumber
asString
isArray
isBoolean
isNumber
isObject
isSemver
isString
parseArray
parseObject
SkinPacker & SkinViewer
Getting started
MCDevKit
CommandLang
Table of contents
Getting started
Annotations
Language Features
Special Functions
Tutorials