Can ranged items also have sweep atacks and how to do it ?

Started by Petro_Costryula on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can ranged items also have sweep atacks and how to do it ?
Wed, 06/21/2023 - 23:23 (edited)

Hello, im trying to make a sword that can block as a shield but im having trouble, i have found out how to implement the shield feature (it is only possible by having the item as a ranged item classified as "ItemSupplier") and now i cant figure out how to make it also have a sweep atack, it seems that the sweeping edge is implemented in the items classified as "SwordItem"

if somone knows if it is possible or how to make an item ranged and sworditem at the same time, please reply.

https://publuu.com/flip-book/170704/423221/page/1                 https://publuu.com/flip-book/170704/423285/

Edited by Petro_Costryula on Wed, 06/21/2023 - 23:23
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when i say sweeping edge i…
Wed, 06/21/2023 - 22:40

when i say sweeping edge i mean a sweep atack, the one all swords have and damages a few entitys with one strike