Closed lonefelidae16 closed 1 year ago
fix #244 , revert #207
The “Refine” will be reverted that I implemented.
This limits bobbing animations to conform to the specification of the previous version.
Checklist
Do not animate when:
Fix interruption of bobbing animation when:
[x] Also works when the item was in Offhand.
Changes
update AnimationsHelper
AnimationsHelper
notifyChangedSlot
consumeChangedSlot
update mixin.client.features.useAnimations.ClientPlayerInteractionManagerMixin
mixin.client.features.useAnimations.ClientPlayerInteractionManagerMixin
bedrockify$useWeaponBreakable
bedrockify$useToolBreakable
bedrockify$useItemToBlock
update mixin.client.features.useAnimations.ClientPlayerEntityMixin
mixin.client.features.useAnimations.ClientPlayerEntityMixin
bedrockify$handleEntityStatus
update mixin.client.features.useAnimations.ClientPlayNetworkHandlerMixin
mixin.client.features.useAnimations.ClientPlayNetworkHandlerMixin
bedrockify$animateAlways
bedrockify$animateAlwaysSlotUpdate
bedrockify$animateAlwaysInventory
SlotUpdate
fix #244 , revert #207
The “Refine” will be reverted that I implemented.
This limits bobbing animations to conform to the specification of the previous version.
Checklist
Do not animate when:
Fix interruption of bobbing animation when:
[x] Also works when the item was in Offhand.
Changes
update
AnimationsHelper
notifyChangedSlot
to store Hotbar slot index of the changed itemconsumeChangedSlot
to retrieve which an item has been changedupdate
mixin.client.features.useAnimations.ClientPlayerInteractionManagerMixin
bedrockify$useWeaponBreakable
bedrockify$useToolBreakable
bedrockify$useItemToBlock
update
mixin.client.features.useAnimations.ClientPlayerEntityMixin
bedrockify$handleEntityStatus
update
mixin.client.features.useAnimations.ClientPlayNetworkHandlerMixin
bedrockify$animateAlways
->bedrockify$animateAlwaysSlotUpdate
bedrockify$animateAlwaysInventory
to handle the packet that could not be caught bySlotUpdate