mojira.dev

alphablend

Assigned

No issues.

Reported

MC-10264 Joining a server sometimes fails when maximized, works fine when windowed Duplicate MC-4531 Lightning shows blocks through ice Duplicate MC-2303 Pick block doesn't work on mushroom blocks (ID 99 and 100) Duplicate

Comments

In doing research into this bug to fix it in the Paper Minecraft server, I came across an interesting problem. Partway through the block break logic, the player's item stack count is set to 0. The issue with this is further down the item stack is cloned, but because item stacks with a count of 0 are not retained, a null stack is instead returned before determining the item entity that should be created. When breaking a grass block with a 1 durability silk touch shovel, because the original item stack is not available, the silk touch enchantment is no longer applied. The same can be said of fortune pickaxes.

The logic behind a fix would require that the movement of clouds not be static, but based around the concept that the area the clouds are moving into is known. As this can change over time, extra preparations have to be made every single time the clouds enter a building. This way, they can "hide" the parts that are entering into the building, while leaving the rest viewable. This, as Grum has said, would require an impact on performance for little gain in return.

A better solution is to raise the limit of clouds to Y coordinate 256.

This is actually on a bukkit server, and I coded a lightning rod feature, so it's really simple to make lightning. 😛

I know the fact it was a bukkit server had nothing to do with the fact the client can't see transparent blocks, so I went ahead and posted this mojira.

I feel as if this would require a rewrite of the renderer if it were to be fixed, but I might be wrong. It's not too terribly important though.

If your network interface supports it, yes.