blob: f42f9ab7efc19ce189ad016fa94674b5d3d976b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package org.bukkit.craftbukkit.entity;
import net.minecraft.server.EntityEnderPearl;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EnderPearl;
import org.bukkit.entity.EntityType;
public class CraftEnderPearl extends CraftProjectile implements EnderPearl {
public CraftEnderPearl(CraftServer server, EntityEnderPearl entity) {
super(server, entity);
}
@Override
public EntityEnderPearl getHandle() {
return (EntityEnderPearl) entity;
}
@Override
public String toString() {
return "CraftEnderPearl";
}
public EntityType getType() {
return EntityType.ENDER_PEARL;
}
}
|