package net.glowstone.entity.passive;

import net.glowstone.entity.meta.MetadataIndex;
import org.bukkit.Location;
import org.bukkit.Sound;
import org.bukkit.entity.AnimalTamer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Ocelot;

public class GlowOcelot extends GlowTameable implements Ocelot {

    private Type catType;

    public GlowOcelot(Location location) {
        super(location, EntityType.OCELOT, 10);
        setCatType(Type.WILD_OCELOT);
        setBoundingBox(0.6, 0.8);
    }

    @Override
    public Type getCatType() {
        return catType;
    }

    @Override
    public void setCatType(Type type) {
        catType = type;
        metadata.set(MetadataIndex.OCELOT_TYPE, type.getId());
    }

    @Override
    public void setOwner(AnimalTamer animalTamer) {
        // TODO
        super.setOwner(animalTamer);
    }

    @Override
    protected Sound getHurtSound() {
        return Sound.ENTITY_CAT_HURT;
    }

    @Override
    protected Sound getDeathSound() {
        return Sound.ENTITY_CAT_DEATH;
    }

    @Override
    protected Sound getAmbientSound() {
        return Sound.ENTITY_CAT_AMBIENT;
    }
}

@@ -32,16 +32,38 @@
 ssive;%0A%0A
+import lombok.Getter;%0A
 import n
@@ -102,16 +102,16 @@
 aIndex;%0A
-
 import o
@@ -330,16 +330,28 @@
 elot %7B%0A%0A
+    @Getter%0A
     priv
@@ -369,16 +369,105 @@
 tType;%0A%0A
+    /**%0A     * Creates a wild ocelot.%0A     *%0A     * @param location the location%0A     */%0A
     publ
@@ -587,16 +587,16 @@
 CELOT);%0A
+
         
@@ -632,84 +632,8 @@
  %7D%0A%0A
-    @Override%0A    public Type getCatType() %7B%0A        return catType;%0A    %7D%0A%0A
     

Fix CheckStyle issues in entity/passive/GlowOcelot.java (#761)