specific effect help

Started by spudow27_pvz4life on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
specific effect help

okay so there's this effect I'm trying to make for my weekly coding camp where when you move, your speed and strength increases. just need some help with the code, plz and thx! :)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the "is event…
Sat, 12/07/2024 - 21:08

You can use the "is event/target entity sprinting" block to check if an entity is sprinting, then apply speed and strength if they are. This procedure would be under the "on effect active tick" for the effect you are making. Its not perfect as it will not detect walking, but it is quite close to what you are asking.