Events
EventRender
function eventRender()
end
EventTick
function eventTick()
end
EventDamage
getEventDamageDamageType() -- ENDER_PEARL, ARROW, FALL
function eventDamage()
end
EventRotation
getEventRotationOnGround()
getEventRotationPitch()
getEventRotationYaw()
setEventRotationOnGround(true)
setEventRotationPitch(90)
setEventRotationYaw(10)
function eventRotation()
end
EventKey
getEventKeyKey()
setEventKeyKey(1) --GLFW NUM
function eventKey()
end
EventSendPacket
function eventSendPacket()
end
EventReceivePacket
function eventReceivePacket()
end
EventBlockPlace
getEventBlockPlaceStack()-- имя поставленнего блока
function eventBlockPlace()
end
EventLivingTick
function eventLivingTick()
end
EventInput
getEventInputForward()
getEventInputJump()
getEventInputSneak()
getEventInputSneakSlowDownMultiPlier()
getEventInputStrafe()
setEventInputForward(1)
setEventInputJump(true)
setEventInputSneak(true)
setEventInputSneakSlowDownMultiPlier(0.3)
setEventInputStrafe(1)
function eventInput()
end
OnLoad
function onLoad()
end
OnUnLoad
function onUnLoad()
end
EventRenderEffects
function eventRenderEffects()
end
EventRender3D
function eventRender3D()
end
EventNoSlow
getEventNoSlowSlow()
setEventNoSlowSlow(1) -- default 0.2
function eventNoSlow()
end
EventAttack
getEventAttackEntity().name
getEventAttackEntity().posX
getEventAttackEntity().posY
getEventAttackEntity().posZ
getEventAttackEntity().posY
getEventAttackEntity().posYEye
getEventAttackEntity().distance
getEventAttackEntity().isPlayer
function eventAttack()
end
EventJump
getEventJumpEntity().name
getEventJumpEntity().posX
getEventJumpEntity().posY
getEventJumpEntity().posZ
getEventJumpEntity().posY
getEventJumpEntity().posYEye
getEventJumpEntity().distance
getEventJumpEntity().isPlayer
function eventJump()
end
EventFirework
getEventFireworkPitch()
getEventFireworkYaw()
getEventFireworkBoost()
setEventFireworkBoost(1.5) -- default value
setEventFireworkYaw(60)
setEventFireworkPitch(2)
function eventFirework()
end
EventFlight
getEventFlightPitch()
getEventFlightYaw()
setEventFlightPitch(70)
setEventFlightYaw(10)
function eventFlight()
end
Last updated