AbstractNeonAddon

The base class for writing Neon Addons.

Callable methods

boolean isEnabled()

  • This methods returns if the current current addons is enabled.

INeonRenderer getRenderer()

  • This method returns a simplified instance of the Neon renderer.

INeonMovementUtil getMovementUtil()

  • This method returns a simplified instance of the Neon movement util.

INeonMathUtil getMathUtil()

  • This method returns a simplified instance of the Neon math util.

INeonSettingManager getSettings()

  • This method returns a simplified instance of the Neon settings manager.

INeon getNeon()

  • This method returns an instance of the Neon instance.

Methods that can be overriden

void initialize()

  • This method gets called when an Addon is initialized.

void destroy()

  • This method gets called when an Addon is unloaded.

void onEnable()

  • This method gets called when the Addon is enabled.

void onDisable()

  • This method gets called when the Addon is disabled.

Events

void onPacketEvent(NeonPacketEvent)

  • This method gets called when a packet is received or sent to the server.

void onPlayerMotionEvent(NeonPlayerMotionEvent)

  • This method gets called before and after the player position packets are sent.

void onPlayerUpdateEvent()

  • This method gets called before the onUpdate method gets called in EntityPlayerSP.

void onPlayerMoveEvent(NeonPlayerMoveEvent)

  • This method gets called before the player moves.

void onRenderEvent(NeonRenderEvent)

  • This method gets called every frame.

void onPostProcessEvent(NeonPostProcessEvent)

  • This method gets called to apply Blur & Shadow effects.

void onRotationEvent(NeonRotationEvent)

  • This method gets called to set player rotations.

void onRenderPlayerEvent(NeonRenderPlayerEvent)

  • This method gets called before a player is rendered.

void onImGuiEvent()

  • This method gets called to render imgui content to the screen.

void onGameTickEvent()

  • This method gets called every game tick.

Last updated