Jump to content

Dakota

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Dakota's Achievements

Tree Puncher

Tree Puncher (2/8)

2

Reputation

  1. Hi, In your RotBucket class, add this : public ItemStack onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { par3EntityPlayer.addPotionEffect((new PotionEffect(Potion.nightVision.getId(), 100, 0))); par3EntityPlayer.addPotionEffect((new PotionEffect(Potion.wither.getId(), 100, 0))); }
  2. Hello, I want to create an event for change the player size. I have seek in the GiantZombie class and I test this : event.entityLiving.yOffset *= 6.0F; event.entityLiving.width *= 6.0F; event.entityLiving.height *= 6.0F; But It's doesn't work and the game crash. And I've test this : event.entityLiving.myEntitySize = EnumEntitySize.SIZE_4; But It's did nothing. Can you help me, please ? Thanks. (Sorry for mistakes, I'm French )
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.