Class PaintingEntity

java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.PaintingEntity

public class PaintingEntity extends Entity
  • Constructor Details

    • PaintingEntity

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

    • spawnEntity

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

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