Interface Modeled
-
- All Superinterfaces:
Renderable
- All Known Subinterfaces:
Actor
,GameObject
,GroundItem
,LocatableEntity
,Npc
,Player
,Projectile
,SpotAnimation
- All Known Implementing Classes:
BoundingModel
,CompositeCacheModel
,CompositeModel
,Entity
,Model
,OSRSCacheModelEntity
,OSRSEntity
,OSRSGameObject
,OSRSGroundItem
,OSRSModel
,OSRSNpc
,OSRSPlayer
,OSRSProjectile
,OSRSSpotAnimation
,PredefinedEntity
,RemoteModel
,RSModel
,SummonedFamiliar
public interface Modeled extends Renderable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Model
getModel()
Gets the polygon-based model of the entityvoid
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 availablevoid
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-
Methods inherited from interface com.runemate.game.api.hybrid.entities.details.Renderable
render, render
-
-
-
-
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)
-
-