Class AbstractArrowEntity

java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.AbstractArrowEntity
All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity
Direct Known Subclasses:
ArrowEntity, TridentEntity

public class AbstractArrowEntity extends Entity
  • Constructor Details

    • AbstractArrowEntity

      public AbstractArrowEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
  • Method Details

    • setArrowFlags

      public void setArrowFlags(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.ByteEntityMetadata entityMetadata)
    • setYaw

      public void setYaw(float yaw)
      Description copied from class: Entity
      x = Yaw, y = Pitch, z = HeadYaw Java: Y = Yaw, X = Pitch
      Overrides:
      setYaw in class Entity
    • setPitch

      public void setPitch(float pitch)
      Overrides:
      setPitch in class Entity
    • setHeadYaw

      public void setHeadYaw(float headYaw)
      Overrides:
      setHeadYaw in class Entity
    • setMotion

      public void setMotion(org.cloudburstmc.math.vector.Vector3f motion)
      Overrides:
      setMotion in class Entity