summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityWaterMob.java
blob: c37eac5bdc507e2ba5c6b3111776a4b67b4ede2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package net.minecraft.server;

import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.craftbukkit.entity.CraftWaterMob;

public class EntityWaterMob extends EntityCreature implements IAnimals {

    public EntityWaterMob(World world) {
        super(world);
        //CraftBukkit start
        CraftServer server = ((WorldServer) this.l).getServer();
        this.bukkitEntity = new CraftWaterMob(server, this);
        //CraftBukkit end
    }

    public boolean d_() {
        return true;
    }

    public void a(NBTTagCompound nbttagcompound) {
        super.a(nbttagcompound);
    }

    public void b(NBTTagCompound nbttagcompound) {
        super.b(nbttagcompound);
    }

    public boolean b() {
        return l.a(z);
    }

    public int c() {
        return 120;
    }
}