Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.94k stars 908 forks source link

Potato Cannon projectiles are offset from the player, rendering it useless in some situations #4834

Open Ainsley4Ever opened 1 year ago

Ainsley4Ever commented 1 year ago

Describe the Bug

When fired, the projectiles of the Potato Cannon spawn 1 block away on the side of the player. This effectively makes it useless when next to a wall or in tight spaces, as the projectiles spawn inside of the wall and hit it instantly.

Reproduction Steps

  1. Grab a Potato Cannon and some ammo;
  2. Place a few blocks on the side where you're holding the cannon (left for left hand, right for right hand, both for both);
  3. Fire, and watch as your projectiles impact the wall instead of your target.

Expected Result

I expected the projectiles to, well, not spawn a full block away from the player, and instead spawn in front of the player like vanilla arrows.

Screenshots and Videos

https://github.com/Creators-of-Create/Create/assets/48531562/d4163aa2-d1b2-4fcb-bb0c-0bf9fc155497

Crash Report or Log

No response

Operating System

Windows 10

Mod Version

0.5.1b

Minecraft Version

1.19.2

Forge Version

43.2.11

Other Mods

No other mods, only Create.

Additional Context

No response

Ezekielman commented 6 months ago

Isn't that intended behavior? They do that so from first person the projectile comes from the actual potato cannon, not... the middle of your face.

Ezekielman commented 6 months ago

If you wanted to fire through that 1 block gap with the cannon in your right hand, you're supposed to just move to the left of the opening.

Ainsley4Ever commented 6 months ago

If you wanted to fire through that 1 block gap with the cannon in your right hand, you're supposed to just move to the left of the opening.

I could do that, but the projectiles are offset by an entire block. This means I'd have to move accordingly, meaning that the wall on my left would block my view. And what if I can't move ? Try shooting from within a 1x2 corridor with a potato cannon and you'll see that your ammo just spatters uselessly on the wall right next to you. That doesn't happen when you shoot with a bow.

Isn't that intended behavior? They do that so from first person the projectile comes from the actual potato cannon, not... the middle of your face.

That's my guess as well, but imo the visual "neatness" that this choice brings is outweighed by the drawbacks gameplay-wise.

Ezekielman commented 6 months ago

That's fair. I understand both ways. I was just confirming, because you put the bug tag on the issue rather than a suggestion tag.