Implemented new 1.2 entities - this fixes BUKKIT-872 and BUKKIT-885

This commit is contained in:
Nathan Adams
2012-03-01 18:02:16 +00:00
parent 5108569383
commit f1f9802ded
9 changed files with 213 additions and 100 deletions

View File

@@ -0,0 +1,21 @@
package org.bukkit.craftbukkit.entity;
import net.minecraft.server.EntityGolem;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.Golem;
public class CraftGolem extends CraftCreature implements Golem {
public CraftGolem(CraftServer server, EntityGolem entity) {
super(server, entity);
}
@Override
public EntityGolem getHandle() {
return (EntityGolem) entity;
}
@Override
public String toString() {
return "CraftGolem";
}
}