    001    package net.minecraft.src;
    002
    003    public enum EnumCreatureType
    004    {
    005        monster(IMob.class, 70, Material.air, false, false),
    006        creature(EntityAnimal.class, 15, Material.air, true, true),
    007        ambient(EntityAmbientCreature.class, 15, Material.air, true, false),
    008        waterCreature(EntityWaterMob.class, 5, Material.water, true, false);
    009
    010        /**
    011         * The root class of creatures associated with this EnumCreatureType (IMobs for aggressive creatures, EntityAnimals
    012         * for friendly ones)
    013         */
    014        private final Class creatureClass;
    015        private final int maxNumberOfCreature;
    016        private final Material creatureMaterial;
    017
    018        /** A flag indicating whether this creature type is peaceful. */
    019        private final boolean isPeacefulCreature;
    020        private final boolean field_82707_i;
    021
    022        private EnumCreatureType(Class par3Class, int par4, Material par5Material, boolean par6, boolean par7)
    023        {
    024            this.creatureClass = par3Class;
    025            this.maxNumberOfCreature = par4;
    026            this.creatureMaterial = par5Material;
    027            this.isPeacefulCreature = par6;
    028            this.field_82707_i = par7;
    029        }
    030
    031        public Class getCreatureClass()
    032        {
    033            return this.creatureClass;
    034        }
    035
    036        public int getMaxNumberOfCreature()
    037        {
    038            return this.maxNumberOfCreature;
    039        }
    040
    041        public Material getCreatureMaterial()
    042        {
    043            return this.creatureMaterial;
    044        }
    045
    046        /**
    047         * Gets whether or not this creature type is peaceful.
    048         */
    049        public boolean getPeacefulCreature()
    050        {
    051            return this.isPeacefulCreature;
    052        }
    053
    054        public boolean func_82705_e()
    055        {
    056            return this.field_82707_i;
    057        }
    058    }