Strength effect

Started by MikaeleHD on Mon, 04/18/2022 - 13:25

Topic category: Help with modding (Java Edition)

Last seen on 14:14, 29. Jun 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Strength effect
Mon, 04/18/2022 - 13:25

How do you create a strength-like effect? Simple stat alteration effect is all

Last seen on 14:29, 29. Jun 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There already is strenght…
Mon, 05/02/2022 - 19:51

There already is strenght effect in minecraft

Last seen on 14:14, 29. Jun 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thats literally not what im…
Thu, 05/12/2022 - 16:23

thats literally not what im asking....

STRENGTH-LIKE EFFECT

not STRENGTH

I want to make my own stat altering effect, read properly

Last seen on 14:29, 29. Jun 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
What you’ve written…
Thu, 05/12/2022 - 18:06

What you’ve written literally tells nothing, so write properly ;)

Last seen on 22:10, 29. Jun 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Not sure why you're having…
Thu, 05/12/2022 - 21:30

Not sure why you're having trouble understanding OP's request.  He wants to create an effect similar to vanilla Strength, likely because Strength is in increments of +3 damage, and he would rather something that increments +1.

Last seen on 14:14, 29. Jun 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Strength-Like effect... it's…
Sat, 05/21/2022 - 15:40

Strength-Like effect... it's literally self-explanatory you're being petty over nothing Marwinekk

Last seen on 23:51, 28. Jun 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well you could make an event…
Sat, 05/21/2022 - 19:39

Well you could make an event on hit and if the event entity has the effect, do an extra damage by a constant ex. 2, and if the current potion level is greater than 0. muliply it for the potion level.

That'd be really basic though, and would always make the same damage with any weapon you're using.

You could use another procedure like the "Get max possible damage of" if the entity has a weapon on their main hand, then just multiply it for a number according to the potion level, else if they don't have a weapon you can just do a plain conversion like my first example.