Additional Enchanted Miner

Additional Enchanted Miner

22M Downloads

[Feature Request] Use partial tick for quarry 'arm' thing

Zepalesque opened this issue ยท 5 comments

commented

Currently, the quarry arm (or whatever it's called) seems to not use the partial tick value, which gives it a sort of choppy look.

My suggestion is to make it use the partial tick value, which should be as easy as storing the arm's location from the previous tick and linearly interpolating between the two with the partialTick value when rendering the arm.

commented

memo

image
It seems I need to add some logic to reset head pos every tick.

commented

I need to "store" the location of arm... Maybe it's needed only in client side, and not needed to save.

Thank you for your suggestion. I keep this issue open.

commented

yeah like as a client side value
vanilla does this with a lot of things, that may be helpful (for instance I think most living entities have both a head rotation value and a prev head rotation value, the prev one is set to the actual one at the beginning of the tick, before the head rotation gets updated, and then the renderer interpolates between the two)

commented

OK, seems good
image
The orange line shows the position sent from server, and the blue line shows rendered position.

image
This figure shows the first period of quarry, moving the arm to block pos. Seems smooth!

commented

Released for several version. Closing.