27 lines
673 B
Java
27 lines
673 B
Java
package org.bukkit.craftbukkit.entity;
|
|
|
|
import net.minecraft.server.EntityWitherSkull;
|
|
import org.bukkit.craftbukkit.CraftServer;
|
|
import org.bukkit.entity.EntityType;
|
|
import org.bukkit.entity.WitherSkull;
|
|
|
|
public class CraftWitherSkull extends CraftFireball implements WitherSkull {
|
|
public CraftWitherSkull(CraftServer server, EntityWitherSkull entity) {
|
|
super(server, entity);
|
|
}
|
|
|
|
@Override
|
|
public EntityWitherSkull getHandle() {
|
|
return (EntityWitherSkull) entity;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "CraftWitherSkull";
|
|
}
|
|
|
|
public EntityType getType() {
|
|
return EntityType.WITHER_SKULL;
|
|
}
|
|
}
|