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.

Featured Replies

Posted

Hello !

I want to make a potion effect which spawns randoms explosions at the player location.

I've already disabled block damage.

I want to know how to disable these explosions damage, only for the player which owns the effect.

I don't want to completely disable damage of the player, just tnt damage.

Also I want the explosion not to move the player, but to move any other entity around.

How can I do that ??

(And how to increase server max tick time, but in game - not in server.properties -)

Thanks in advance !

Subscribe to LivingHurtEvent, check if the Entity of the Event is an instance of Player, cancel the Event for preventing the Player to get damage

  • 2 weeks later...
  • Author

Wow ! Thanks a lot for your help.

On 12/17/2021 at 10:07 AM, diesieben07 said:

Why? This should be a setting for the server operator.

Just temporarily. Because an explosion of 12 000 power makes the server not responding for a long time, even on client, after 3 minutes of no response, I get in the console thread-?? died !

  • Author

Okay I think I'll just low the explosion power ... 😂

Edited by SiniKraft

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.