Need help: Potion effects related to attributes

Started by ElliotHawkz on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined May 2021
Points:
609

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Need help: Potion effects related to attributes

So i am creating this potion effect which removes player health and increase the player's base damage. The health reduction thing works but the base damage increase is not. I thought I would use attributes but DTM's toolkit for attributes is not updated to 2021.1. So how do I do this?

I don't want to apply strength to the player because having a status effect that adds another status effect looks weird

Active 1 month ago
Joined Jan 2019
Points:
895

User statistics:

  • Modifications: 6
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 202
I will tell you tomorrow
Sun, 06/27/2021 - 22:49

I will tell you tomorrow

Active 1 month ago
Joined Jan 2019
Points:
895

User statistics:

  • Modifications: 6
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 202
https://imgur.com/np46nqj If…
Mon, 06/28/2021 - 09:14

https://imgur.com/np46nqj

If you want to chat "... was slain by" if killed by that additional damage, you have to create custom Death source etc.

Potionbang is your effect name (Mine in this case, yours can be different.)

The 10 Damage can be adjusted.

Active 3 years ago
Joined May 2021
Points:
609

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Thanks!
Sat, 07/03/2021 - 01:56

Thanks!