Addition of all Entity classes.
Each Entity creates a corresponding instance of a Craft Entity, to be used whenever sending instances to an event handler with getBukkitEntity().
This commit is contained in:
committed by
Dinner Bone
parent
431f2f62cf
commit
6a3b096fb8
@@ -1,5 +1,8 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.craftbukkit.entity.CraftGiant;
|
||||
|
||||
public class EntityZombieSimple extends EntityMobs {
|
||||
|
||||
public EntityZombieSimple(World world) {
|
||||
@@ -10,6 +13,10 @@ public class EntityZombieSimple extends EntityMobs {
|
||||
aZ *= 10;
|
||||
H *= 6F;
|
||||
a(I * 6F, J * 6F);
|
||||
//CraftBukkit start
|
||||
CraftServer server = ((WorldServer) this.l).getServer();
|
||||
this.bukkitEntity = new CraftGiant(server, this);
|
||||
//CraftBukkit end
|
||||
}
|
||||
|
||||
protected float a(int i, int j, int k) {
|
||||
|
||||
Reference in New Issue
Block a user