How Would I Make A Sword That Kills Everything But The Player In A Certain Radius

Started by P5yui on

Topic category: Help with modding (Java Edition)

Last seen on 02:34, 11. Jul 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Would I Make A Sword That Kills Everything But The Player In A Certain Radius

I Want To Make A Sword That Deals Infinite Damage And That Deals Infinite Damage To Everything In A Certain Radius Like The Dev Sword From AbyssalCraft I Already Made It Deal Infinite Damage But I Can Find How To Make The Radius Part

Last seen on 02:09, 23. Oct 2022
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
/kill @e[type=!minecraft…
Sun, 11/07/2021 - 00:48

/kill @e[type=!minecraft:player,distance=..(you#)]

Last seen on 02:34, 11. Jul 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh thx ill try  
Sun, 11/07/2021 - 00:58

oh thx ill try

 

Last seen on 02:34, 11. Jul 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i use the command  
Sun, 11/07/2021 - 00:59

how do i use the command

 

Last seen on 03:32, 22. Jul 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no commands for every entity…
Sun, 11/07/2021 - 02:07

no commands

for every entity as entity iterator on a block radius of: 20

 do

      if not entity iterator is type: Player

         do deal 100000 damage to entity iterator

   

Last seen on 02:34, 11. Jul 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the command worked anyways  
Sun, 11/07/2021 - 12:19

the command worked anyways

 

Last seen on 03:32, 22. Jul 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes I know it did I just…
Sun, 11/07/2021 - 15:55

yes I know it did I just gave you that procedure if you want to make something else

Last seen on 02:34, 11. Jul 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also how would i make it…
Thu, 03/24/2022 - 02:34

also how would i make it that it would lets say bypass avaritia's infinity armor

i am willing to code

by bypass i mean like kill ppl with infinity armor