Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mop

Members
  • Joined

  • Last visited

  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 replied to Mop's topic in Modder Support
    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 replied to Mop's topic in Modder Support
    I do not understand? Ik begryp it net?
  7. Mop posted a topic in Modder Support
    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.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.