Interface Modeled

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @Nullable Model getModel()
      Gets the polygon-based model of the entity
      void setBackupModel​(int[] frontBottomLeft, int[] backTopRight)
      Sets a backup model to be used when the model isn't available.
      void setBackupModel​(Model backup)  
      void setBackupModel​(com.runemate.game.api.hybrid.util.collections.Pair<int[],​int[]> values)
      Sets a pair of points to be used to create a backup model when the in-game model isn't available
      void setForcedModel​(int[] frontBottomLeft, int[] backTopRight)
      Sets a model to be used regardless of whether the in-game model is available.
      void setForcedModel​(Model forced)  
      void setForcedModel​(com.runemate.game.api.hybrid.util.collections.Pair<int[],​int[]> values)
      Sets a pair of points to be used to create a model regardless of whether the in-game model is available
    • Method Detail

      • getModel

        @Nullable
        @Nullable Model getModel()
        Gets the polygon-based model of the entity
        Returns:
        the entities model, otherwise the backup if set, if neither are available null
      • setBackupModel

        void setBackupModel​(int[] frontBottomLeft,
                            int[] backTopRight)
        Sets a backup model to be used when the model isn't available.
      • setBackupModel

        void setBackupModel​(com.runemate.game.api.hybrid.util.collections.Pair<int[],​int[]> values)
        Sets a pair of points to be used to create a backup model when the in-game model isn't available
      • setBackupModel

        void setBackupModel​(Model backup)
      • setForcedModel

        void setForcedModel​(int[] frontBottomLeft,
                            int[] backTopRight)
        Sets a model to be used regardless of whether the in-game model is available.
      • setForcedModel

        void setForcedModel​(com.runemate.game.api.hybrid.util.collections.Pair<int[],​int[]> values)
        Sets a pair of points to be used to create a model regardless of whether the in-game model is available
      • setForcedModel

        void setForcedModel​(Model forced)