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

public class GhastEntity extends FlyingEntity
  • Constructor Details

    • GhastEntity

      public GhastEntity(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

    • setGhastAttacking

      public void setGhastAttacking(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • isEnemy

      protected boolean isEnemy()
      Description copied from class: MobEntity
      Returns if the entity is hostile. Used to determine if it can be leashed.
      Overrides:
      isEnemy in class MobEntity