- All Superinterfaces:
AbstractHuman<E>
, Entity<E>
, EntityProjectileSource
, EntitySource
, InventoryHoldingEntity<E>
, LivingEntity<E>
, Positionable<SyncExactPosition>
, ProjectileSource
, Source
, Tamer<E>
, User
- All Known Subinterfaces:
LivePlayer
, PlayerSnapshot
-
Method Summary
Create a snapshot of this instance of the entity
Gets the type of the entity
boolean
Methods inherited from interface org.core.entity.Entity
addPassengers, addPassengers, clearPassengers, getAttachedTo, getCustomNameComponent, getFacingDirection, getPassengers, getPitch, getPosition, getRoll, getVelocity, getYaw, hasGravity, hasPassengers, isCustomNameVisible, isOnGround, isRemoved, removePassengers, removePassengers, setCustomName, setCustomName, setCustomNameVisible, setGravity, setPitch, setPosition, setPosition, setPosition, setPosition, setRoll, setVelocity, setVelocity, setYaw
-
Method Details
-
isViewingInventory
boolean isViewingInventory()
-
getType
Description copied from interface: Entity
Gets the type of the entity
- Specified by:
getType
in interface Entity<E extends Entity<?>>
- Returns:
- The Entity Type
-
-
createSnapshot
Description copied from interface: Entity
Create a snapshot of this instance of the entity
- Specified by:
createSnapshot
in interface Entity<E extends Entity<?>>
- Returns:
- The created snapshot