Jump to content

Mop

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Mop

  1. Then I need to create a block and object? And then in the subject method onClick transfer the block? Of course the method onClick will be checked by pressing a shift.
  2. Hi, I have a bottle. It is placed in the world (the block), I want to be able to use method onItemUseFinish for drinking water from my bottle. How better to do it? Create the subject and when you click with shiftom put a separate unit, or a way to drink can be made in the block?
  3. tried to use it, but it is not true. EntityLivingBase::addPotionEffect(MobEffects.WITHER, 100, 2);
  4. I am referring to the effect of the potion to impose on the mob.
  5. Mop

    Damage subject

    Sorry I am French, I'll try one more time to describe the problem. My object is hit only once, after which its strength is not reduced. To apply damage object I use: stack.setItemDamage(+1).
  6. Mop

    Damage subject

    I do not understand? Ik begryp it net?
  7. Damagayu your subject using the onItemUseFinish stack.setItemDamage(+1) in the method, there is the problem of the damage is applied only once. And how to make what method onItemUseFinish return the dishes only when my strength potions will end? Maybe use a different method and to give it to the player to inventory the dishes?
  8. Good morning from Paris! Please tell me how to put in effect on suschnost method onEntityWalk.
×
×
  • Create New...

Important Information

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