Weapons with potion effects

Started by DeletedSprings on

Topic category: Help with Minecraft modding (Java Edition)

Active 11 months ago
Joined Apr 2022
Points:
336

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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!

Active 1 year ago
Joined Mar 2022
Points:
356

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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.