mc

This page will go over the `mc` namespace

getDisplayWidth(): int

Returns the window width

getDisplayHeight(): int

Returns the window height

getTimerSpeed(): float

Returns the current timer speed

setTimerSpeed(float speed): void

Sets the current timer speed

getPartialTicks(): float

Returns the current partial ticks

objectMouseOver(): RaytraceResult

Returns the object that the player has his mouse over as RaytraceResult.

getRenderPartialTicks(): float

Returns the current render partial ticks

getPlayer(): EntityPlayerSP

Returns the local player as EntityPlayerSP object.

isGUIOpen(): boolean

Returns true if any GUI is open, this includes the breeze GUI, chests, chat or the pause menu.

Last updated