Is there a way to add draw time to a ranged item?

Started by Strevortni on

Topic category: Help with modding (Java Edition)

Last seen on 14:14, 11. Jul 2019
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to add draw time to a ranged item?

So i have this musket,and i can't figure out a way for it to shoot only when fully drawn.

Any advice?

Nope because it's surely…
Sat, 07/13/2019 - 00:01

Nope because it's surely very hard to make, and I believe that for the moment, you would have to code.

Last seen on 19:10, 19. Jan 2023
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ik this is an old  topic but…
Sun, 10/30/2022 - 19:15

Ik this is an old  topic but it is on the top of google so here is how to change it draw back time

Open it with code and look for the 

        @Override

public int getUseDuration(ItemStack itemstack) {
return 72000;
}

 

and change the return 72000 to any value you want