Class PaintingEntity

java.lang.Object
org.geysermc.connector.entity.Entity
org.geysermc.connector.entity.PaintingEntity

public class PaintingEntity extends Entity
  • Constructor Details

    • PaintingEntity

      public PaintingEntity(long entityId, long geyserId, com.nukkitx.math.vector.Vector3f position, PaintingType paintingName, int direction)
  • Method Details

    • spawnEntity

      public void spawnEntity(GeyserSession session)
      Overrides:
      spawnEntity in class Entity
    • updateHeadLookRotation

      public void updateHeadLookRotation(GeyserSession session, float headYaw)
      Description copied from class: Entity
      Updates an entity's head position. Used in JavaEntityHeadLookTranslator.
      Overrides:
      updateHeadLookRotation in class Entity
      Parameters:
      session - GeyserSession.
      headYaw - The new head rotation of the entity.