All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.craftbukkit.entity.CraftGhast Maven / Gradle / Ivy

The newest version!
package org.bukkit.craftbukkit.entity;

import net.minecraft.server.EntityGhast;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Ghast;

public class CraftGhast extends CraftFlying implements Ghast {

  public CraftGhast(CraftServer server, EntityGhast entity) {
    super(server, entity);
  }

  @Override
  public EntityGhast getHandle() {
    return (EntityGhast) entity;
  }

  @Override
  public String toString() {
    return "CraftGhast";
  }

  public EntityType getType() {
    return EntityType.GHAST;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy