kts4mc-template-1.21.11
Toggle table of contents
1.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
kts4mc-template-1.21.11
kts4mc-template-1.21.11
/
top.katton.api.mod
/
getBlock
get
Block
fun
getBlock
(
blockId
:
String
)
:
Block
?
fun
getBlock
(
blockId
:
Identifier
)
:
Block
?
Gets a block by its identifier.
Return
The Block instance, or null if not found
Parameters
block
Id
The block identifier