can I make it so that the right mouse button can be used to reduce the number of uses?

Started by mt23xd on Mon, 04/05/2021 - 10:58

Topic category: Mod showcase and discussion

Last seen on 10:45, 6. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
can I make it so that the right mouse button can be used to reduce the number of uses?
Mon, 04/05/2021 - 10:58

can I make it so that the right mouse button can be used to reduce the number of uses?

Sry for bad translate, i am not speak english

Last seen on 02:09, 26. May 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I don't know if you can, but…
Sun, 05/09/2021 - 02:21

I don't know if you can, but the first sentence isn't bad English.

Last seen on 11:27, 17. Jun 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can do this by creating…
Thu, 05/13/2021 - 19:49

You can do this by creating a procedure linked to the items "On Right Clicked In Air" and "On Right Clicked On Block" and make the following procedure.

Deal (Damage Number) Damage to Item in Main-Hand of Target Entity

 

You can find the deal damage to item in the Item Procedures Section and you can find Item in main hand of target entity in the Entity Data Section.