increase attack range

Started by Sylphfin on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
increase attack range

how do i make that when i eat an item i get increased attack range but when i eat it again it doesnt increase it again

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think this is…
Sat, 05/06/2023 - 16:35

I don't think this is possible in Minecraft at all, although you could try changing attributes for mobs (I'm not sure if it has a property there), or you could try checking when a player swings an item, check for mobs in front of the player with only a distance of your desired attack range away, and then dealing damage to the entity (based on the max possible damage of the item in the players mainhand)

Sorry if this sounds confusing!