Class RestrictedEntityDef
- java.lang.Object
-
- de.extio.spacecraft.shared.model.entity.AbstractEntityDef
-
- de.extio.spacecraft.shared.model.entity.builtin.def.RestrictedEntityDef
-
- All Implemented Interfaces:
LootableEntityDef
,StorableEntityDef
public class RestrictedEntityDef extends AbstractEntityDef implements LootableEntityDef
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntityDef
AbstractEntityDef.PlacementCompatibility
-
-
Constructor Summary
Constructors Constructor Description RestrictedEntityDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getLootDirectProbability()
UUID
getLootDropAlternative()
double
getLootDropProbability()
double
getMass()
int
getStorageCapacityNeeded()
CoordI2
getTilesetPositionDamagedFull()
CoordI2
getTilesetPositionDamagedPartly()
boolean
isDropEntityMods()
boolean
isLootable()
boolean
isStorablePreselectInEditor()
void
setStorablePreselectInEditor(boolean storablePreselectInEditor)
void
setTilesetPositionDamagedFull(CoordI2 tilesetPositionDamagedFull)
void
setTilesetPositionDamagedPartly(CoordI2 tilesetPositionDamagedPartly)
-
Methods inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntityDef
getAutoOrientation, getCategory, getDisplayName, getLayer, getLiveEntity, getModName, getPlacementCompatibility, getTileset, getTilesetModName, getTilesetName, getTilesetPosition, getUuid, isEnabled, isPlaceable, setAutoOrientation, setCategory, setDisplayName, setEnabled, setLayer, setLiveEntity, setModName, setPlaceable, setPlacementCompatibility, setTileset, setTilesetModName, setTilesetName, setTilesetPosition, setUuid
-
-
-
-
Method Detail
-
getTilesetPositionDamagedPartly
public CoordI2 getTilesetPositionDamagedPartly()
-
setTilesetPositionDamagedPartly
public void setTilesetPositionDamagedPartly(CoordI2 tilesetPositionDamagedPartly)
-
getTilesetPositionDamagedFull
public CoordI2 getTilesetPositionDamagedFull()
-
setTilesetPositionDamagedFull
public void setTilesetPositionDamagedFull(CoordI2 tilesetPositionDamagedFull)
-
getStorageCapacityNeeded
public int getStorageCapacityNeeded()
- Specified by:
getStorageCapacityNeeded
in interfaceStorableEntityDef
-
getMass
public double getMass()
- Specified by:
getMass
in interfaceStorableEntityDef
-
isLootable
public boolean isLootable()
- Specified by:
isLootable
in interfaceLootableEntityDef
-
getLootDropProbability
public double getLootDropProbability()
- Specified by:
getLootDropProbability
in interfaceLootableEntityDef
-
getLootDirectProbability
public double getLootDirectProbability()
- Specified by:
getLootDirectProbability
in interfaceLootableEntityDef
-
isStorablePreselectInEditor
public boolean isStorablePreselectInEditor()
- Specified by:
isStorablePreselectInEditor
in interfaceStorableEntityDef
-
setStorablePreselectInEditor
public void setStorablePreselectInEditor(boolean storablePreselectInEditor)
-
isDropEntityMods
public boolean isDropEntityMods()
- Specified by:
isDropEntityMods
in interfaceLootableEntityDef
-
getLootDropAlternative
public UUID getLootDropAlternative()
- Specified by:
getLootDropAlternative
in interfaceLootableEntityDef
-
-