Neon Addons API
  • Introduction
    • Informations
    • Ways of writing Addons
      • Java "Scripting"
      • Normal Java "Project"
  • Examples
    • Simple Chams
    • Simple ESP
    • Simple Ground Spoof Flight
    • Text Rendering
    • Sending/Intercepting Packets
    • Settings
  • The API
    • Addon API
      • AbstractNeonAddon
      • Objects
        • Events
          • NeonEvent
          • NeonPacketEvent
          • NeonPlayerMotionEvent
          • NeonPlayerMoveEvent
          • NeonPostProcessEvent
          • NeonRenderEvent
          • NeonRenderPlayerEvent
          • NeonRotationEvent
          • NeonGameTickEvent
        • Interfaces
          • INeon
          • INeonModuleManager
          • INeonModule
          • INeonSettingManager
          • INeonRenderer
          • INeonRectanglePublisher
          • INeonRoundRectanglePublisher
          • INeonMathUtil
          • INeonMovementUtil
          • INeonRotationUtil
          • INeonUnsafeFunctions
        • Other Types
          • NeonFontType
          • NeonNotificationType
          • NeonPair
          • NeonMusicMetadata
          • NeonMusicType
Powered by GitBook
On this page
  1. The API
  2. Addon API
  3. Objects
  4. Interfaces

INeonRenderer

public interface INeonRenderer {

    void rectangle2D(NeonRenderStack stack, float x, float y, float width, float height, Color color);

    void rectangleBatch2D(NeonRenderStack stack, Consumer<INeonRectanglePublisher> consumer);

    void roundRectangle2D(NeonRenderStack stack, float x, float y, float width, float height, float radius, Color color);

    void roundRectangleBatch2D(NeonRenderStack stack, Consumer<INeonRoundRectanglePublisher> consumer);

    void minecraftText2D(String text, float x, float y, boolean shadow, Color color);

    float minecraftTextWidth(String text);

    void customText2D(NeonFontType font, String text, float x, float y, float scale, boolean shadow, Color color);

    float customTextWidth(NeonFontType font, String text, float scale);

    void playerHead2D(NeonRenderStack stack, EntityPlayer player, float x, float y, float size, float roundness);

    void playerModel2D(EntityPlayer player, float x, float y, float scale, float mouseX, float mouseY);

    void boundingBox3D(NeonRenderStack stack, AxisAlignedBB box, Color color);

    void circle3D(NeonRenderStack stack, float x, float y, float z, float radius, float thickness, Color color);

    void line2D(NeonRenderStack stack, float x, float y, float x2, float y2, float thickness, Color color);

    void lines3D(NeonRenderStack stack, Collection<Vector3f> positions, float thickness, Color color);

    void setTextureColor(Color color);

    void resetTextureColor();

    Vector2f worldToScreen(Vector3d worldPosition);

}
PreviousINeonSettingManagerNextINeonRectanglePublisher

Last updated 6 months ago