Buggy code:
public class EntityCrackedZombie extends EntityMob { protected static final IAttribute reinforcements = new RangedAttribute ( ( ( IAttribute ) ( null ) ) , "zombie.spawnReinforcements" , 0.0 , 0.0 , 1.0 ) . setDescription ( "Spawn<seq2seq4repair_space>Reinforcements<seq2seq4repair_space>Chance" ) ; private static final UUID uuid = UUID . fromString ( "B9766B59-9566-4402-BC1F-2EE2A276D836" ) ; private static final AttributeModifier speedBoost = new AttributeModifier ( EntityCrackedZombie . uuid , "Baby<seq2seq4repair_space>speed<seq2seq4repair_space>boost" , 0.1 , 0 ) ; private int conversionTime = 0 ; private final float attackDistance = 16.0F ; public EntityCrackedZombie ( World world ) { } protected void func_175456_n ( ) { } @ Override protected void applyEntityAttributes ( ) { } public boolean getHasTarget ( ) { } public boolean isAttackableEntity ( EntityLivingBase entityLiving , double distance ) { } public boolean isGoodTarget ( EntityLivingBase target ) { } @ Override public boolean attackEntityFrom ( DamageSource damageSource , float damage ) { } @ Override public boolean attackEntityAsMob ( Entity entity ) { } @ Override public void onLivingUpdate ( ) { } @ Override protected boolean isValidLightLevel ( ) { } @ Override public boolean getCanSpawnHere ( ) { } @ Override protected void entityInit ( ) { } @ Override public int getTotalArmorValue ( ) { } @ Override protected boolean canDespawn ( ) { } @ Override public boolean isChild ( ) { } public void setChild ( boolean unused ) { } public boolean isVillager ( ) { } public void setVillager ( boolean set ) { } @ Override public void onUpdate ( ) { } @ Override public void onStruckByLightning ( EntityLightningBolt entityLightningBolt ) { } public int getAttackStrength ( Entity entity ) { } @ Override protected String getLivingSound ( ) { } @ Override protected String getHurtSound ( ) { } @ Override protected String getDeathSound ( ) { } @ Override protected void playStepSound ( BlockPos p_180429_1_ , Block p_180429_2_ ) { } @ Override protected Item getDropItem ( ) { } @ Override public EnumCreatureAttribute getCreatureAttribute ( ) { } @ Override protected void addRandomArmor ( ) { } @ Override public void writeEntityToNBT ( NBTTagCompound nbt ) { } @ Override public void readEntityFromNBT ( NBTTagCompound nbt ) { } @ Override protected void setEquipmentBasedOnDifficulty ( DifficultyInstance difficulty ) { super . setEquipmentBasedOnDifficulty ( difficulty ) ; if ( ( this . rand . nextFloat ( ) ) < ( ( this . worldObj . getDifficulty ( ) ) == ( EnumDifficulty . HARD ) ? 0.05F : 0.01F ) ) { <START_BUG> switch ( rand . nextInt ( 6 ) ) { <END_BUG> case 0 : setCurrentItemOrArmor ( 0 , new net . minecraft . item . ItemStack ( Items . diamond_sword ) ) ; break ; case 1 : setCurrentItemOrArmor ( 0 , new net . minecraft . item . ItemStack ( Items . iron_sword ) ) ; break ; case 2 : setCurrentItemOrArmor ( 0 , new net . minecraft . item . ItemStack ( Items . diamond_shovel ) ) ; break ; case 3 : setCurrentItemOrArmor ( 0 , new net . minecraft . item . ItemStack ( Items . iron_shovel ) ) ; break ; } } } @ Override public void onKillEntity ( EntityLivingBase entityLiving ) { } public boolean isConverting ( ) { } @ Override public boolean interact ( EntityPlayer entityPlayer ) { } protected void startConversion ( int conTime ) { } @ SideOnly ( Side . CLIENT ) @ Override public void handleHealthUpdate ( byte health ) { } protected void convertToVillager ( ) { } protected int getConversionTimeBoost ( ) { } }

Fix:
switch ( rand . nextInt ( 4 ) ) {