mojira.dev

Draco Silverwing

Assigned

No issues.

Reported

MC-158827 Lectern and shulker box hitbox extends beyond 1x1x1 cube Confirmed MC-130031 Cannot Move/Click/Select/Pick Items in Inventory Duplicate MC-130030 Rapid Clicking Makes Action Sticky Duplicate MC-130029 Water Doesn't Flow Correctly Near Fences, Etc. Duplicate MC-122737 Items Picked Up Statistics Incorrect Duplicate MC-120476 "Expected item to be a JsonObject" error abbreviates too heavily Confirmed MC-106891 Iron Golems Spawns Don't Respect World Boundary Awaiting Response MC-105190 Speed effect requires world reload to work. Cannot Reproduce MCPE-16019 Reverse mouse button configuration is not recognised correctly Invalid MC-73718 Crafting of stair blocks is unbalanced! (finally someone reported it) Duplicate MC-69633 Biome shading on biome-compliant textures doesn't appear to be working when using a resource pack that doesn't have its own biome shader file Incomplete MC-65492 Bone meal can be applied to fully grown crops Duplicate MC-49412 Block Explosion Resistance Bug Duplicate MC-39171 Maps Have Limited Dimensions They Can Identify Invalid MC-31548 Ghast Fireballs will Freeze on Save/Load Duplicate MC-12834 Block Slipperiness Detection Duplicate MC-12832 Block Slipperiness Values Invalid MC-10004 Trapped chest disappears when on the edge of the screen Invalid

Comments

I included the relevant code way back in 2013 (I have no reason to believe that it has substantially changed since). The code floors the player's position values to integers, then subtracts 1 from Y. This works fine if the player is standing anywhere within the XY bounds of the block, and directly on top of it, but as soon as the player is any amount above the block (including jumping and flying) the results change.

I at the time suggested subtracting 1/16th (instead of 1), then flooring, which will always result in the same block if the player is walking on top of a half slab or similar, and would also work for carpets (which are 1/16th thick). Using a smaller value (eg. epsilon) further minimizes the amount above the block could be and get the wrong block (although there are few blocks in Minecraft that do not have size deltas less than 1/16th, only a pressure plate (depressed) does, but it doesn't have collision).

Happened to notice today that this is still a problem. Fortunately this time around I knew where the problem was, due to having already been in the midst of debugging a recipe class.

Ah ha, there was a duplicate. I tried to find it, but it eluded me.

Hmm, it definitely happened, and it was fairly easy, but now I can't get it to either.

Touchscreen mode is indeed the culprit. I did not even know this was a thing and having it be on by default is quite frustrating (especially as I don't have a touchscreen).

Tryashtar: note that you need a place where water wants to "naturally flow downhill," ie, an air block no more than 5 blocks away and 1 down:

[media]

Torches being the stand-in for Fences/slabs/etc and the Lapis being where the water is.

 

Michael: no breaking of fences required. I'm talking about dropping a bucket down and expecting it to flow one way and having it not flow at all.

Sure, I edited that into the description. It's pretty simple. You want video, too?

Oh, it totally makes sense that water can't flow into those blocks, but in the depicted situation the water SHOULD flow away through the opening. Placing a fully solid block instead of a fence causes that behavior, and if "water-capable" blocks can't be flowed into and treated as solid...

So far I've only seen them spawn inside the world border, but I will keep an eye on it.

 

Villagers still attempt to path outside the border, though.

They are NOT caused by the same basic issue. This one is caused by the incorrect order of operations (floor, then -1, rather than -1, then ceil). That issue is caused by the use of a single point check rather than checking all four corners of the player's hitbox.

I will be thoroughly peeved if, after all this time, this issue is reported as invalid. Especially since I specifically said, "DO NOT SAY THIS ISSUE IS INVALID".

This has just happened to me as well - I found two rabbits in my world and decided to try and breed them using dandelions, but they would not follow me.

What part of "please add the full size image" did you not understand?

Adding the thumbnail is pointless if people can't see what it's trying to show. The snow image you added is basically black with something highlighted in red. But I have no idea what without figuring out which other report the image came from, which after two days, will be really difficult.

Would be nice if you'd add the full image, rather than the thumbnail.

Gosh, if only I had deobfuscated source code for 14w11b to check.

Best I could get you is 1.7.2, and I haven't done any modding since 1.6.4

"Open" and "Closed: Won't Fix" aren't the same thing.