BedrockIfy - Bedrock Features on Java!

BedrockIfy - Bedrock Features on Java!

410k Downloads

[Refine feature] useAnimations impl on multiplayer

lonefelidae16 opened this issue · 0 comments

commented

Hi theređź‘‹

Sadly I played the Minecraft Bedrock Edition (is MC for Windows 1.19.51), its behavior is Java like.

  • Hotbar item is not bobbing when attacking the entity.
  • Also when breaking the block, Consuming foods.

However, I really like this animation, so I have made it available on multiplayer.
I’m going to test it on my vanilla server. I think it also works on Realms if it’s okay.
I’ll create a new PR when ready, about a few days.

Thank you for awesome mod!


Behavior

The bobbing animation now execute on Render thread only.

The hotbar item will animate when:

  • Attacking the entity even if weapons / tools gets no damage.
  • Breaking the block.
  • Using tools.
  • Accessing the block / fluid.
  • Decreasing in stack.
  • The item stack has been changed, such as catching a fish into a bucket.
  • Blocking the attacks with the Shield.
  • Mending by xp orb.

Known issue

  • Non-mining tools such as “Flint and Steel” are always animated when destroying a block using it.
  • May cause a double-bobbing. e.g.) Placing any blocks, Extinguishing a campfire with a shovel.
  • Extinguishing a lit candle on a Candle Cake block does not animate.

For Developers

The final stage Git branch is available on my repo. If you interested in, you can build and test it. (And I’d be happy you find and report a bug in this thread.)

lonefelidae16:feat/client-use-anim
edit: Successfully merged into upstream