Class SkullPlayerEntity


public class SkullPlayerEntity extends PlayerEntity
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(com.github.steveice10.mc.auth.data.GameProfile gameProfile, long geyserId, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, int blockState)
  • Method Details

    • spawnEntity

      public void spawnEntity(GeyserSession session)
      Overwritten so each entity doesn't check for a linked entity
      Overrides:
      spawnEntity in class PlayerEntity
    • despawnEntity

      public void despawnEntity(GeyserSession session, com.nukkitx.math.vector.Vector3i position)