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,9 +1,16 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.craftbukkit.entity.CraftFlying;
|
||||
|
||||
public class EntityFlying extends EntityLiving {
|
||||
|
||||
public EntityFlying(World world) {
|
||||
super(world);
|
||||
//CraftBukkit start
|
||||
CraftServer server = ((WorldServer) this.l).getServer();
|
||||
this.bukkitEntity = new CraftFlying(server, this);
|
||||
//CraftBukkit end
|
||||
}
|
||||
|
||||
protected void a(float f) {}
|
||||
|
||||
Reference in New Issue
Block a user