Weapons with potion effects

Started by DeletedSprings on

Topic category: Help with modding (Java Edition)

Last seen on 00:52, 2. Feb 2024
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Weapons with potion effects

Im trying to make a weapon that freezes enemies using slowness 10 but whenever i try it makes the person using it get slowness 10 so somebody showing me how to do this properly would be greatly apreciated. Thanks!

Last seen on 02:56, 27. Jun 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use a tool with the type…
Thu, 04/14/2022 - 19:39

Use a tool with the type sword for a sword, and then use the trigger "When living entity is hit with tool" and then place a block to give "Event/target entity" slowness 10 (enter slowness 9 because it counts up from 0) and then it should work.