Cancel sword effect

Discussion in 'Plugin Development' started by devxyz, Jun 25, 2020.

  1. Offline

    devxyz

    Greetings people, I am trying to make a java plugin that when canceling the effect of sharpness when I am in a specific world. For example, if I'm going to hit a zombie, using a sharpness sword, this effect doesn't work. I've seen this on a server, so I was wondering how.
     
  2. Offline

    KarimAKL

    @devxyz You want to disable the "sharpness" enchantment in a specific world?
     
  3. Offline

    devxyz

  4. Offline

    KarimAKL

    @devxyz How do you want it to work?
     
  5. Offline

    devxyz

    @KarimAKL when the player hits a creature with a sharp sword, I could put another value on the damage. I don't know how to check for sharpness on the sword.
     
  6. Offline

    KarimAKL

Share This Page