absolutelyaya / ultracraft

A Minecraft mod recreating the game Ultrakill
MIT License
21 stars 4 forks source link

Firing guns and moving in high velocity mode renders across clients #18

Closed FlyingFluffyWolf closed 1 year ago

FlyingFluffyWolf commented 1 year ago

When others fire weapons or dash/slide, the animations render across clients, so one person shooting a gun will play the animation for someone else in their hotbar/hand.

absolutelyaya commented 1 year ago

The weapon part usually happens when a Weapon is copied in creative via the middle mouse key. I think it's a geckolib issue where the animation sync ID is copied along with all other item data; same for putting a weapon on pedestals in creative or any other action copying item stacks. A way to prevent that is manually taking new weapons either from the creative inventory or /give

The Wings however are a networking bug that I'm already working on