Zombies and skeletons wear pumpkins
#1
Posted 30 October 2012 - 11:13 PM
Does this happen only on Halloween??
#2
Posted 30 October 2012 - 11:15 PM
#3
Posted 30 October 2012 - 11:23 PM
Edit: I saw one with a jack'o'lantern as helmet!
#4
Posted 30 October 2012 - 11:55 PM
Yep I thinks it's because of Halloween, because it started right after 12pm.
Funny...
#5
Posted 31 October 2012 - 12:04 AM
It's only for halloween. If you want you can just change your computer time to halloween to always have them spawn like this until the code is removed.
#8
Posted 31 October 2012 - 12:34 AM

5 seconds later I turned around and a creeper ended my life both in game and in real life.
#14
Posted 31 October 2012 - 12:45 PM
#15
Posted 31 October 2012 - 03:31 PM
#16
Posted 01 November 2012 - 01:13 AM
#17
Posted 01 November 2012 - 01:31 AM
if (this.getCurrentItemOrArmor(4) == null)
{
Calendar var1 = this.worldObj.func_83015_S();
if (var1.get(2) + 1 == 10 && var1.get(5) == 31 && this.rand.nextFloat() < 0.25F)
{
this.func_70062_b(4, new ItemStack(this.rand.nextFloat() < 0.1F ? Block.pumpkinLantern : Block.pumpkin));
this.field_82174_bp[4] = 0.0F;
}- if (var1.get(2) + 1 == 10 as in the 10th month
- var1.get(5) == 31 as in the 31st day
- this.func_70062_b(4, new ItemStack(this.rand.nextFloat() < 0.1F ? Block.pumpkinLantern : Block.pumpkin));
- The func is the function to wear an item on a mobs head, and as you can see it will either wear "Block.pumpkinLantern : Block.pumpkin".
#18
Posted 01 November 2012 - 10:58 AM
seen rarest mob in Minecraft (Probability:
#19
Posted 01 November 2012 - 12:42 PM
Calibrix, on 01 November 2012 - 01:31 AM, said:
if (this.getCurrentItemOrArmor(4) == null)
{
Calendar var1 = this.worldObj.func_83015_S();
if (var1.get(2) + 1 == 10 && var1.get(5) == 31 && this.rand.nextFloat() < 0.25F)
{
this.func_70062_b(4, new ItemStack(this.rand.nextFloat() < 0.1F ? Block.pumpkinLantern : Block.pumpkin));
this.field_82174_bp[4] = 0.0F;
}- if (var1.get(2) + 1 == 10 as in the 10th month
- var1.get(5) == 31 as in the 31st day
- this.func_70062_b(4, new ItemStack(this.rand.nextFloat() < 0.1F ? Block.pumpkinLantern : Block.pumpkin));
- The func is the function to wear an item on a mobs head, and as you can see it will either wear "Block.pumpkinLantern : Block.pumpkin".
Great job!
#20
Posted 01 November 2012 - 12:52 PM
Malacodor, on 01 November 2012 - 10:58 AM, said:
seen rarest mob in Minecraft (Probability: 0,1%(?) of all spider spawns)

I have spawned a wither skeleton wearing a jack-O-lantern, which is rarer.
Check out my Terror Bird suggestion: http://www.minecraft...ses-for-mounts/
comic sans = sarcasm












