Class SkullPlayerEntity

All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity

public class SkullPlayerEntity extends AvatarEntity
A wrapper to handle skulls more effectively - skulls have to be treated as entities since there are no custom player skulls in Bedrock.
  • Constructor Details

    • SkullPlayerEntity

      public SkullPlayerEntity(GeyserSession session, long geyserId)
  • Method Details

    • initializeMetadata

      protected void initializeMetadata()
      Description copied from class: Entity
      Called on entity spawn. Used to populate the entity metadata and flags with default values.
      Overrides:
      initializeMetadata in class AvatarEntity
    • updateSkull

      public void updateSkull(SkullCache.Skull skull)
    • getSkullUUID

      public UUID getSkullUUID()
    • getSkullPosition

      public org.cloudburstmc.math.vector.Vector3i getSkullPosition()