Class GameEntity
java.lang.Object
zombie.entity.GameEntity
- Direct Known Subclasses:
InventoryItem
,IsoObject
,MetaEntity
,VehiclePart
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
final AttributeContainer
attrib()
final int
final boolean
containsComponent
(Component component) final AttributeContainer
final <T extends Component>
TgetComponent
(ComponentType componentType) final Component
getComponentForIndex
(int int0) final Component
getComponentFromID
(short short0) static String
final Durability
abstract long
final String
final FluidContainer
abstract GameEntityType
final SpriteConfig
abstract IsoGridSquare
abstract float
getX()
abstract float
getY()
abstract float
getZ()
final boolean
hasComponent
(ComponentType componentType) final boolean
boolean
final boolean
abstract boolean
boolean
isMeta()
final boolean
final boolean
final boolean
boolean
isUsingPlayer
(IsoPlayer player) boolean
final void
loadEntity
(ByteBuffer byteBuffer, int int1) void
onEquip()
void
onEquip
(boolean boolean0) void
void
void
final void
removeFromWorld
(boolean boolean0) void
void
final boolean
void
reset()
final void
saveEntity
(ByteBuffer byteBuffer) final void
sendSyncEntity
(UdpConnection udpConnection) void
setUsingPlayer
(IsoPlayer player)
-
Field Details
-
DEFAULT_ENTITY_DISPLAY_NAME
- See Also:
-
-
Constructor Details
-
GameEntity
public GameEntity()
-
-
Method Details
-
getDefaultEntityDisplayName
-
getGameEntityType
-
getSquare
-
getEntityNetID
public abstract long getEntityNetID() -
getX
public abstract float getX() -
getY
public abstract float getY() -
getZ
public abstract float getZ() -
isEntityValid
public abstract boolean isEntityValid() -
isValidEngineEntity
public boolean isValidEngineEntity() -
isMeta
public boolean isMeta() -
getEntityDisplayName
-
getEntityFullTypeDebug
-
getExceptionCompatibleString
-
attrib
-
getAttributes
-
getFluidContainer
-
getDurabilityComponent
-
getSpriteConfig
-
isAddedToEngine
public final boolean isAddedToEngine() -
isRemovingFromEngine
public final boolean isRemovingFromEngine() -
isScheduledForEngineRemoval
public final boolean isScheduledForEngineRemoval() -
isScheduledForBucketUpdate
public final boolean isScheduledForBucketUpdate() -
hasRenderers
public boolean hasRenderers() -
hasComponents
public final boolean hasComponents() -
hasComponent
-
componentSize
public final int componentSize() -
getComponentForIndex
-
getComponent
-
getComponentFromID
-
containsComponent
-
reset
public void reset() -
onEquip
public void onEquip() -
onEquip
public void onEquip(boolean boolean0) -
onUnEquip
public void onUnEquip() -
addToWorld
public void addToWorld() -
removeFromWorld
public void removeFromWorld() -
removeFromWorld
public final void removeFromWorld(boolean boolean0) -
renderlast
public void renderlast() -
renderlastComponents
public void renderlastComponents() -
requiresEntitySave
public final boolean requiresEntitySave() -
saveEntity
- Throws:
IOException
-
loadEntity
- Throws:
IOException
-
isUsingPlayer
-
getUsingPlayer
-
setUsingPlayer
-
sendSyncEntity
-
onFluidContainerUpdate
public void onFluidContainerUpdate()
-