[Bleeding] Added EntityType to replace CreatureType.

This commit is contained in:
Celtic Minstrel
2012-02-06 00:19:23 -05:00
committed by EvilSeph
parent 7792156fb2
commit af51313ffb
49 changed files with 280 additions and 86 deletions

View File

@@ -1,11 +1,13 @@
package org.bukkit.craftbukkit.entity;
import net.minecraft.server.EntityWolf;
import net.minecraft.server.PathEntity;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.AnimalTamer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.entity.Wolf;
import net.minecraft.server.PathEntity;
public class CraftWolf extends CraftAnimals implements Wolf {
private AnimalTamer owner;
@@ -112,4 +114,8 @@ public class CraftWolf extends CraftAnimals implements Wolf {
public String toString() {
return "CraftWolf{anger=" + isAngry() + ",owner=" + getOwner() + ",tame=" + isTamed() + ",sitting=" + isSitting() + "}";
}
public EntityType getType() {
return EntityType.WOLF;
}
}