Wool item entities created when shearing a sheep stutter while flying
When shearing a sheep, the wool items created will stutter while flying. This is not the case when shearing mooshrooms or performing other actions which create item entities.
The specific problem is that in net.minecraft.world.entity.animal.Sheep#shear, both the client and server generate random numbers for the velocities of the spawned items. This can be compared with net.minecraft.world.entity.animal.MushroomCow#shear and net.minecraft.world.entity.monster.Bogged#spawnShearedMushrooms, neither of which use locally generated random numbers on either side.
2024-03-06, 09:21 PM
2025-01-03, 01:22 AM
2024-12-07, 07:41 PM
7
3