public class GhastEntity extends FlyingEntity
  • Constructor Details

    • GhastEntity

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

    • setGhastAttacking

      public void setGhastAttacking(com.github.steveice10.mc.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