Extras

object Extras

Functions

Link copied to clipboard
fun getStateFromIDWithRotation(iblockstate: IBlockState, rotation: Int): IBlockState

Returns the blockstate for the given blockID. Also rotates the state corresponding to the given rotation if it has rotation data.

Link copied to clipboard
fun onTick(event: TickEvent.ClientTickEvent)