TileRenderer
Index
Type Aliases
Variables
Functions
- createBlockModel
- getBlockRotation
- getCropModel
- getRenderModel
- getRotatedBoxVertexes
- mapAtCoords
- registerFullRotationModel
- registerModelWithRotation
- registerRenderModel
- registerRotationModel
- setCollisionShape
- setEmptyCollisionShape
- setHandAndUiModel
- setRotationFunction
- setRotationPlaceFunction
- setStandardModel
- setStandardModelWithRotation
- setStandartModel
- setStaticModel
- setStaticModelWithRotation
- setupWireModel
Type Aliases
BoxVertexes
Variables
constdata
Type declaration
Functions
createBlockModel
Parameters
id: number
data: number
boxes: BoxVertexes[]
Returns ICRender.Model
getBlockRotation
Parameters
player: number
optionalhasVertical: boolean
Returns number
getCropModel
Parameters
texture: [string, number]
Returns ICRender.Model
getRenderModel
Parameters
id: number
data: string | number
Returns ICRender.Model
getRotatedBoxVertexes
Parameters
rotation: number
box: BoxVertexes
Returns BoxVertexes
mapAtCoords
Parameters
x: number
y: number
z: number
id: number
data: string | number
Returns void
registerFullRotationModel
Parameters
id: number
data: number
texture: [string, number][]
Returns void
registerModelWithRotation
Parameters
id: number
data: number
texture: [string, number][]
optionalhasVertical: boolean
Returns void
registerRenderModel
Parameters
id: number
data: number
texture: [string, number][]
Returns void
registerRotationModel
Parameters
id: number
data: number
texture: [string, number][]
Returns void
setCollisionShape
Parameters
id: number
data: number
boxes: BoxVertexes[]
Returns void
setEmptyCollisionShape
Parameters
id: number
Returns void
setHandAndUiModel
Parameters
id: number
data: number
texture: [string, number][]
Returns void
setRotationFunction
Parameters
id: string | number
optionalhasVertical: boolean
optionalplaceSound: string
Returns void
setRotationPlaceFunction
Parameters
id: string | number
optionalhasVertical: boolean
optionalplaceSound: string
Returns void
setStandardModel
Parameters
id: number
data: number
texture: [string, number][]
Returns void
setStandardModelWithRotation
Parameters
id: number
data: number
texture: [string, number][]
optionalhasVertical: boolean
Returns void
setStandartModel
Parameters
id: number
texture: [string, number][]
optionaldata: number
Returns void
setStaticModel
Parameters
id: number
data: number
boxes: BoxVertexes[]
Returns void
setStaticModelWithRotation
Parameters
id: number
boxes: BoxVertexes[]
Returns void
setupWireModel
Parameters
id: number
data: number
width: number
groupName: string
optionalpreventSelfAdd: boolean
Returns void
use registerModelWithRotation instead