This behavior is already being tracked in MC-215542, so I have resolved this report as a diplicate.
Can you confirm that the issue does not happen for spears with the attack_range component removed? I do not get any indicator lag for such spears.
I can’t reproduce this, I am always safely placed at -1065, 71, -4 (right above the target block in this image). Shown is 26.4 Snapshot 4, but the generation and results are the same in 26.3.
Can confirm.
I can confirm that the indicator is tied to the hitbox_margin property of the attack_range component. Download and step through the following videos frame-by-frame. The top one shows an unmodified wooden sword:
The next one shows an unmodified golden pickaxe and netherite spear:
The next one shows a stone pickaxe with a hitbox margin of 0.0125 (same as spear)
and this last one shows a copper pickaxe with a hitbox margin of 0.001:
For the items with the extra hitbox margin, the indicator is delayed by a couple of frames, so something is definitely going on- but I think it’s client-side rather than server-side. Perhaps the client only performs a collision raycast a fixed amount of times per second for such items? Regardless, this may be better tracked in MC-312216.
Regarding this report, I must delete your modded videos since they are not valid or useful. If you upload further videos, please make sure they are vanilla and have the debug overlay (F3) enabled and showing the game version (and possibly also the TPS chart, F3+2, if you truly believe this is tied to server ticks.)
Not sure what you mean, the info on the wiki is correct and does not contradict itself (although I removed a sentence about full-health players needing to fall 23.5 blocks to die from the damage since that was outdated). And it would not make sense for the fall damage taken to be calculated like
Distance | Damage |
|---|---|
1 | 0 |
2 | 0 |
3 | 0 |
4 | 2 |
5 | 3 |
6 | 4 |
so that you could only take half a heart of fall damage by falling between 3 and 4 blocks.
Actually, having done that, I’m still not sure why the present behavior would not be considered intended. In 1.21.4 a fall of 3.347 blocks will damage the player, but a fall of 3.346 blocks will not. Surely that is not the expected behavior, and that’s why this change was made. If you believe the present behavior to be incorrect, please detail how it worked when it was correct and what version of Minecraft that was. This report will automatically reopen when you reply.
If a fall_damage_multiplier of 1 means you accumulate 1 fall damage for every block fallen, why would you expect to take no damage after falling 3 blocks but 2 damage after falling 4 blocks? I’m editing the description so that this report only tracks the rounding mechanics used.
Can confirm, updated description with repro steps. But this seems intended, as the new fall damage calculation is arguably more logical and comprehensible (see my comment on MC-312495).
This does not happen for me, I suspect some utility on your computer is increasing gamma when an app is running Vulkan. Does this happen with other apps which are known to use Vulkan?
This report will automatically reopen when you reply.
I cannot reproduce this. All melee attacks seem to work the same way for me, so even if they do not register the exact next frame after I hit the target, the delay is minimal and predictable, and certainly has nothing to do with the server tick rate. Shown below is my testing with a spear.
I see what you mean. If I charge with an angle of 6.01° or less from the horizontal, both deal 7 damage. At 6.02° or greater, the netherite still deals 7 damage, but the diamond only 6. Iron spears deal 6 damage if the angle is 20.31° or less, and beyond that deal 5. Presumably other tiers also have damage output overlap when sprinting into a mob at particular angles, so I will retitle the report to reflect this. This behavior may be intended, since there is still an advantage to using eg. a netherite spear over a diamond one for charge attacks, namely the greater ease of dealing the maximum damage.
Apologies, I forgot that the honeyed state for those two blocks is part of block state and not NBT. This being the case, I suppose I must send every report of this type for triage.
With regards to the logic behind it, it instantly made sense to me that an enchantment which lets you retrieve a piece of glass out of a wider window and then place it back to form a new, flush window could also heal the cracks in a block of ice, but I suppose the two situations aren’t identical.
I can’t reproduce this- for me, diamond spear always deals 6 and netherite spear deals 7. This happens in 26.3 as well.
Please upload a video recording of the issue with the debug overlay (F3) enabled and showing the game version and system specs. You can record your screen using:
On Windows, the built-in Snipping Tool app (shift+win+S)
On macOS, the the built-in Screenshot app (shift+cmd+5)
Third-party software such as OBS
It is recommended that you trim, convert and/or reduce the quality of your recording so that it is under 10MB, as this will make the upload much quicker.
This report will automatically reopen when you reply.
Please upload a video recording of the issue in vanilla Minecraft, latest release or latest snapshot, on a vanilla server or LAN, and have the debug overlay (F3) enabled and showing the game version. Use glass blocks or similar for the wall so that the issue can be clearly seen in a single recording.
This report will automatically reopen when you reply.
This was just reviewed by Mojang and the resolution was left unchanged.
I’m just going to resolve this into MC-270793 and request a retriage on that report once I’ve touched it up, it is not necessary to make a separate report for every combination of effects when the cause (method logic is backwards) is a simple and easy fix. Also the provided datapack is incorrect, immune_to_freezing.json should be freeze_immune_entity_types.json, and your description here does not correctly identify the issue (chicken should not even have the effect, even though with the fixed filename it does not take damage from freezing). Much more salient issue which I will mention in MC-270793: strays are now affected by poison and regen with no datapacks.
Seed: -8420665430484186106
Coordinates: /execute in minecraft:overworld run tp @s -9731.84 -26.00 2357.50 -148.35 17.76
Notably, Flame does not work this way if applied in creative mode– the shot arrow is only flaming if the crossbow has the enchantment. In my mind this is how it should be, and I wish Multishot worked this way as well.