Interface BasePlayer
- All Superinterfaces:
BaseEntity, Identifiable, Profiled
An adapter of player
-
Method Summary
Modifier and TypeMethodDescription@NotNull PlatformPlayerplatform()Gets the platform-specific entity object.voidUpdates current inventoryMethods inherited from interface BaseEntity
bodyYaw, customName, damageTick, dead, fly, glow, ground, handle, hasControllingPassenger, hasModelData, headYaw, id, invisible, location, mainHand, modelData, modelData, offHand, onWalk, passengerPosition, pitch, registry, scale, trackedBy, walkSpeed, yawMethods inherited from interface Identifiable
uuid
-
Method Details
-
updateInventory
void updateInventory()Updates current inventory -
platform
Description copied from interface:BaseEntityGets the platform-specific entity object.- Specified by:
platformin interfaceBaseEntity- Returns:
- The platform entity.
-