mc
This page will go over the Minecraft API namespace.
getDisplayWidth(): Number
getDisplayWidth(): Number
Returns mc.displayWidth
.
getDisplayHeight(): Number
getDisplayHeight(): Number
Returns mc.displayHeight
.
getTimerSpeed(): Number
getTimerSpeed(): Number
Returns mc.timer.timerSpeed
.
setTimerSpeed(timerSpeed): Undefined
setTimerSpeed(timerSpeed): Undefined
Argument
Type
Description
timerSpeed
Number
The timer speed. Default value is 1.
Does not return anything, sets the timerSpeed
value of mc.timer
to timerSpeed parameter.
getPartialTicks(): Number
getPartialTicks(): Number
Returns mc.timer.elapsedPartialTicks
.
getRenderPartialTicks(): Number
getRenderPartialTicks(): Number
Returns mc.timer.renderPartialTicks
.
getFPS(): Number
getFPS(): Number
Returns fps.
Last updated