Buy Me a Coffee at ko-fi.com

Parses and creates a new BlockState from the given string
A world position can be optionally given for the blockstate functions that rely on its position

overload 1:
WorldAPI.newBlock(block: String): BlockState
typings.-1808118735typings.-1026048988
Method PropertyFluent DescriptionRepresentation
block accepts
Return Value
overload 2:
WorldAPI.newBlock(block: String, pos: Vector3): BlockState
typings.-1808118735typings.2002444080typings.-1026048988
Method PropertyFluent DescriptionRepresentation
block accepts
pos accepts
Return Value
overload 3:
WorldAPI.newBlock(block: String, x: Number, y: Number, z: Number): BlockState
typings.-1808118735typings.-1950496919typings.-1950496919typings.-1950496919typings.-1026048988
Method PropertyFluent DescriptionRepresentation
block accepts
x accepts
y accepts
z accepts
Return Value