Events
EventRender
function eventRender()
endEventTick
function eventTick()
endEventDamage
getEventDamageDamageType() -- ENDER_PEARL, ARROW, FALL
function eventDamage()
endEventRotation
getEventRotationOnGround()
getEventRotationPitch()
getEventRotationYaw()
setEventRotationOnGround(true)
setEventRotationPitch(90)
setEventRotationYaw(10)
function eventRotation()
endEventKey
getEventKeyKey()
setEventKeyKey(1) --GLFW NUM
function eventKey()
endEventSendPacket
function eventSendPacket()
endEventReceivePacket
function eventReceivePacket()
endEventBlockPlace
getEventBlockPlaceStack()-- имя поставленнего блока
function eventBlockPlace()
endEventLivingTick
function eventLivingTick()
endEventInput
getEventInputForward()
getEventInputJump()
getEventInputSneak()
getEventInputSneakSlowDownMultiPlier()
getEventInputStrafe()
setEventInputForward(1)
setEventInputJump(true)
setEventInputSneak(true)
setEventInputSneakSlowDownMultiPlier(0.3)
setEventInputStrafe(1)
function eventInput()
endOnLoad
function onLoad()
endOnUnLoad
function onUnLoad()
endEventRenderEffects
function eventRenderEffects()
endEventRender3D
function eventRender3D()
endEventNoSlow
getEventNoSlowSlow()
setEventNoSlowSlow(1) -- default 0.2
function eventNoSlow()
endEventAttack
getEventAttackEntity().name
getEventAttackEntity().posX
getEventAttackEntity().posY
getEventAttackEntity().posZ
getEventAttackEntity().posY
getEventAttackEntity().posYEye
getEventAttackEntity().distance
getEventAttackEntity().isPlayer
function eventAttack()
endEventJump
getEventJumpEntity().name
getEventJumpEntity().posX
getEventJumpEntity().posY
getEventJumpEntity().posZ
getEventJumpEntity().posY
getEventJumpEntity().posYEye
getEventJumpEntity().distance
getEventJumpEntity().isPlayer
function eventJump()
endEventFirework
getEventFireworkPitch()
getEventFireworkYaw()
getEventFireworkBoost()
setEventFireworkBoost(1.5) -- default value
setEventFireworkYaw(60)
setEventFireworkPitch(2)
function eventFirework()
endEventFlight
getEventFlightPitch()
getEventFlightYaw()
setEventFlightPitch(70)
setEventFlightYaw(10)
function eventFlight()
endLast updated