Interface PlayerSnapshot
- All Superinterfaces:
AbstractHuman<EntitySnapshot<? extends LiveEntity>>
,Entity<EntitySnapshot<? extends LiveEntity>>
,EntityProjectileSource
,EntitySnapshot<LivePlayer>
,EntitySnapshot.NoneDestructibleSnapshot<LivePlayer>
,EntitySource
,InventoryHoldingEntity<EntitySnapshot<? extends LiveEntity>>
,LivingEntity<EntitySnapshot<? extends LiveEntity>>
,Player<EntitySnapshot<? extends LiveEntity>>
,Positionable<SyncExactPosition>
,ProjectileSource
,Source
,Tamer<EntitySnapshot<? extends LiveEntity>>
,User
public interface PlayerSnapshot
extends Player<EntitySnapshot<? extends LiveEntity>>, EntitySnapshot.NoneDestructibleSnapshot<LivePlayer>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.entity.EntitySnapshot
EntitySnapshot.NoneDestructibleSnapshot<E extends LiveEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EntityType<LivePlayer,PlayerSnapshot>
getType()
Gets the type of the entityMethods inherited from interface org.core.entity.living.human.AbstractHuman
getExhaustionLevel, getFoodLevel, getName, getSaturationLevel, isSneaking, setExhaustionLevel, setFood, setSaturationLevel, setSneaking
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
Methods inherited from interface org.core.entity.EntitySnapshot
createSnapshot, getCreatedFrom, spawnEntity
Methods inherited from interface org.core.entity.EntitySnapshot.NoneDestructibleSnapshot
getEntity, teleportEntity
Methods inherited from interface org.core.entity.living.human.player.Player
createSnapshot, getInventory, isViewingInventory
Methods inherited from interface org.core.entity.living.human.player.User
getAccount, getName, getUniqueId
-
Method Details
-
getType
Description copied from interface:Entity
Gets the type of the entity- Specified by:
getType
in interfaceEntity<EntitySnapshot<? extends LiveEntity>>
- Specified by:
getType
in interfacePlayer<EntitySnapshot<? extends LiveEntity>>
- Returns:
- The Entity Type
-