Started by
Sylphfin
on
Topic category: Help with Minecraft modding (Java Edition)
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
Topic category: Help with Minecraft modding (Java Edition)
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
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!