How to make a weapon that, after some action, will not shoot?

Started by WelonTrees on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a weapon that, after some action, will not shoot?
Fri, 01/01/2021 - 15:18 (edited)

I make weapons. It will be damaged after being shot. But I need to make sure that before the weapon breaks, it cannot fire. This needs to be reolized without adding an unloaded weapon to your inventory. Since the weapon is duplicated in the creative.

Edited by WelonTrees on Fri, 01/01/2021 - 15:18
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use item damage and shoot…
Fri, 01/01/2021 - 15:03

Use item damage and shoot conditions for this to work.

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Which teams are responsible…
Fri, 01/01/2021 - 15:58

Which teams are responsible for the shooting condition?

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I just use version 2020.2.
Fri, 01/01/2021 - 17:20

I just use version 2020.2.

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update to 2020.5
Fri, 01/01/2021 - 18:02

Update to 2020.5

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But I need to make a mod for…
Fri, 01/01/2021 - 18:59

But I need to make a mod for version 1.12.2. In 2020.5 there is no mod creation for version 1.12.2.

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you. But I don't know…
Sat, 01/02/2021 - 21:21

Thank you. But I don't know how to prevent my pistol from firing. Since I do not know what procedures are responsible for the shooting conditions.