AbstractStitchAddon
The base class for writing Stitch Addons.
Callable methods
boolean isEnabled()
boolean isEnabled()
This methods returns if the current current addons is enabled.
IStitchRenderer getRenderer()
IStitchRenderer getRenderer()
This method returns a simplified instance of the Stitch renderer.
IStitchMovementUtil getMovementUtil()
IStitchMovementUtil getMovementUtil()
This method returns a simplified instance of the Stitch movement util.
IStitchMathUtil getMathUtil()
IStitchMathUtil getMathUtil()
This method returns a simplified instance of the Stitch math util.
IStitchSettingManager getSettings()
IStitchSettingManager getSettings()
This method returns a simplified instance of the Stitch settings manager.
IStitch getStitch()
IStitch getStitch()
This method returns an instance of the Stitch 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(StitchPacketEvent)
void onPacketEvent(StitchPacketEvent)
This method gets called when a packet is received or sent to the server.
void onPlayerMotionEvent(StitchPlayerMotionEvent)
void onPlayerMotionEvent(StitchPlayerMotionEvent)
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(StitchPlayerMoveEvent)
void onPlayerMoveEvent(StitchPlayerMoveEvent)
This method gets called before the player moves.
void onRenderEvent(StitchRenderEvent)
void onRenderEvent(StitchRenderEvent)
This method gets called every frame.
void onPostProcessEvent(StitchPostProcessEvent)
void onPostProcessEvent(StitchPostProcessEvent)
This method gets called to apply Blur & Shadow effects.
void onRotationEvent(StitchRotationEvent)
void onRotationEvent(StitchRotationEvent)
This method gets called to set player rotations.
void onRenderPlayerEvent(StitchRenderPlayerEvent)
void onRenderPlayerEvent(StitchRenderPlayerEvent)
This method gets called before a player is rendered.
void onImGuiEvent()
void onImGuiEvent()
This method gets called to render imgui content to the screen.
Last updated