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.

Gibrik

Members
  • Joined

  • Last visited

  1. Can you tell me why there might be compatibility issues?
  2. But, if an "autocrafter" from another mod makes this tool, and then passes it on to the "block user", then the pickaxe will have 100% durability. You need to somehow avoid this.
  3. Hi all. How can I change the max durability of a VANILLA tool to 1 or 0? ( Items and ItemStack do not have the setmaxdamage method ). Note: I had an idea that you can replace the vanilla tool with your own. But how can this be done? If the vanilla tool will still show up. Important note: If it is possible to somehow change the maximum strength, then even some AUTOCRAFTER needs to create a tool with exactly this strength!
  4. Hi all. Sorry for another topic (I'm a little dumb). I want to spawn the vanilla BLOCK effect ( ParticleTypes ), but 'addparticle' requires ParticleOptions. @Override public InteractionResult useOn(UseOnContext pContext) { Level level = pContext.getLevel(); BlockPos positionClicked = pContext.getClickedPos(); level.addParticle(ParticleTypes.BLOCK, // It's moment positionClicked.getX() + 0.5d, positionClicked.getY() + 0.5d, positionClicked.getZ() + 0.5d, 0.15d, 0.15d, 0.15d); ModMessages.sendToServer(new OneSmallStickC2SPacket()); return super.useOn(pContext); }
  5. Hi all. I have a problem, I can't figure out how to make an item appear at the server level, next to the player? Who can explain with some small example?

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.