[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
7792156fb2
commit
af51313ffb
@@ -2,12 +2,16 @@ package org.bukkit.craftbukkit.entity;
|
||||
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.common.collect.ImmutableSet.Builder;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import net.minecraft.server.EntityComplexPart;
|
||||
import net.minecraft.server.EntityEnderDragon;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.entity.ComplexEntityPart;
|
||||
import org.bukkit.entity.EnderDragon;
|
||||
import org.bukkit.entity.EntityType;
|
||||
|
||||
public class CraftEnderDragon extends CraftComplexLivingEntity implements EnderDragon {
|
||||
public CraftEnderDragon(CraftServer server, EntityEnderDragon entity) {
|
||||
@@ -33,4 +37,8 @@ public class CraftEnderDragon extends CraftComplexLivingEntity implements EnderD
|
||||
public String toString() {
|
||||
return "CraftEnderDragon";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.ENDER_DRAGON;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user