arrow that fits into the blocks

Started by mandaraino on

Topic category: Help with modding (Java Edition)

Last seen on 19:19, 30. Jul 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
arrow that fits into the blocks

I am creating a mod that gives a utility to the fletching table, but creating the improved bows I have noticed that the arrows do not fit into the blocks as they would with a normal bow and once used the arrows can no longer be resumed in the inventory.
Can someone help me?

Last seen on 11:34, 9. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
um whats with inventory and…
Wed, 07/27/2022 - 08:31

um whats with inventory and shooting a bow here???? I'm confused

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lock your bow element, press…
Wed, 07/27/2022 - 14:09

Lock your bow element, press edit, then go into the third file. It's a java file. Ctrl + F(or just find it) the word "ground". And there is an if statement which removes arrows on ground(in the brackets it should say "this.remove" so look for that). Delete the if statement, make sure to get rid of the brackets properly. Save. And try it out. The projectiles do come out pretty wonky like they're not really stuck to the ground but slightly above it.

Last seen on 19:19, 30. Jul 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok thank you, now all works.
Sat, 07/30/2022 - 19:20

ok thank you, now all works.