Class PaintingEntity

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

public class PaintingEntity extends HangingEntity
  • Constructor Details

  • Method Details

    • spawnEntity

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

      public void setDirection(org.geysermc.mcprotocollib.protocol.data.game.entity.object.Direction direction)
      Specified by:
      setDirection in class HangingEntity
    • setPaintingType

      public void setPaintingType(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.ObjectEntityMetadata<org.geysermc.mcprotocollib.protocol.data.game.Holder<org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.PaintingVariant>> entityMetadata)
    • 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.