entity = new EntitySkeleton(world); if(world.rand.nextInt(8) == 0) { entity = new EntityWitherSkeleton(world);
entity = new EntityWitherSkeleton(Minecraft.getMinecraft().world); entity.setItemStackToSlot(EntityEquipmentSlot.HEAD, new ItemStack(Blocks.LIT_PUMPKIN));