Interface Hooks.RenderableDrawListener

    • Method Detail

      • draw

        boolean draw​(Renderable renderable,
                     boolean ui)
        Deprecated.
      • addEntity

        default boolean addEntity​(Renderable renderable,
                                  boolean ui)
        Deprecated.
        Description copied from interface: RenderCallback
        Tests if an entity should be added to the scene. This is called multiple times per frame from the client thread. Entities are temporary entities (players, npcs, projectiles, spotanims, etc). Preventing an entity from being added removes their clickbox and also allows other entities which would have been hidden to be added.
        Specified by:
        addEntity in interface RenderCallback
        Parameters:
        renderable - the entity
        ui - true if this test is for drawing the ui (hitbars etc)
        Returns: