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, setSneakingMethods 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, setYawMethods inherited from interface org.core.entity.EntitySnapshot
createSnapshot, getCreatedFrom, spawnEntityMethods inherited from interface org.core.entity.EntitySnapshot.NoneDestructibleSnapshot
getEntity, teleportEntityMethods inherited from interface org.core.entity.living.human.player.Player
createSnapshot, getInventory, isViewingInventoryMethods inherited from interface org.core.entity.living.human.player.User
getAccount, getName, getUniqueId
-
Method Details
-
getType
Description copied from interface:EntityGets the type of the entity- Specified by:
getTypein interfaceEntity<EntitySnapshot<? extends LiveEntity>>- Specified by:
getTypein interfacePlayer<EntitySnapshot<? extends LiveEntity>>- Returns:
- The Entity Type
-