AbstractNeonAddon
The base class for writing Neon Addons.
Callable methods
boolean isEnabled()
boolean isEnabled()
This methods returns if the current current addons is enabled.
INeonRenderer getRenderer()
INeonRenderer getRenderer()
This method returns a simplified instance of the Neon renderer.
INeonMovementUtil getMovementUtil()
INeonMovementUtil getMovementUtil()
This method returns a simplified instance of the Neon movement util.
INeonMathUtil getMathUtil()
INeonMathUtil getMathUtil()
This method returns a simplified instance of the Neon math util.
INeonSettingManager getSettings()
INeonSettingManager getSettings()
This method returns a simplified instance of the Neon settings manager.
INeon getNeon()
INeon getNeon()
This method returns an instance of the Neon instance.
Methods that can be overriden
void initialize()
void initialize()
This method gets called when an Addon is initialized.
void destroy()
void destroy()
This method gets called when an Addon is unloaded.
void onEnable()
void onEnable()
This method gets called when the Addon is enabled.
void onDisable()
void onDisable()
This method gets called when the Addon is disabled.
Events
void onPacketEvent(NeonPacketEvent)
void onPacketEvent(NeonPacketEvent)
This method gets called when a packet is received or sent to the server.
void onPlayerMotionEvent(NeonPlayerMotionEvent)
void onPlayerMotionEvent(NeonPlayerMotionEvent)
This method gets called before and after the player position packets are sent.
void onPlayerUpdateEvent()
void onPlayerUpdateEvent()
This method gets called before the
onUpdate
method gets called in EntityPlayerSP.
void onPlayerMoveEvent(NeonPlayerMoveEvent)
void onPlayerMoveEvent(NeonPlayerMoveEvent)
This method gets called before the player moves.
void onRenderEvent(NeonRenderEvent)
void onRenderEvent(NeonRenderEvent)
This method gets called every frame.
void onPostProcessEvent(NeonPostProcessEvent)
void onPostProcessEvent(NeonPostProcessEvent)
This method gets called to apply Blur & Shadow effects.
void onRotationEvent(NeonRotationEvent)
void onRotationEvent(NeonRotationEvent)
This method gets called to set player rotations.
void onRenderPlayerEvent(NeonRenderPlayerEvent)
void onRenderPlayerEvent(NeonRenderPlayerEvent)
This method gets called before a player is rendered.
void onImGuiEvent()
void onImGuiEvent()
This method gets called to render imgui content to the screen.
void onGameTickEvent()
void onGameTickEvent()
This method gets called every game tick.
Last updated