[SPIGOT-3477] Collision box for freshly placed lower open door blocks misplaced. Created: 30/Jul/17  Updated: 30/Jul/17  Resolved: 30/Jul/17

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Eriol_Eandur Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: door, half, hitbox, lower, open
Environment:

Java SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot 64-Bit Server VM (build 25.131-b11, mixed mode)



 Description   

As a creative server we try to use as many blocks with custom models to achieve higher quality builds even for players with unmodded clients. We would like to use single lower door blocks to increase the amount of available blocks. We are using a custom plugin to place these blocks or voxel sniper plugin (e.g. /b s cp with /v 64 and /vi 6) to place these blocks (e.g. wooden door, part=lower, facing=west,open=true).

For door blocks with closed state everything works fine but for blocks with open state there is a problem:

At the client side the hitbox in the example above (ID 64:6) is at the northern face of the block. Collision detection at the client works well. But at the server side the hitbox seems to be set at the opposite face of the block.

When a player moves into the block from that side the server sends a position set packet (PacketPlayOutPosition) to the client to reset the player position to outside of the block. I tested to cancel sending of these packets with ProtocolLib. In this case the player can enter the block  and collision detection with the client side hitbox at the northern face works fine.

I noticed that after a server restart the problem is mended for all blocks placed before the restart. Unloading and reload the chunk by teleporting to another location and returning helps too.

While this bug will probably affect very few people we would be very happy to use these additional blocks.

 

Thanks for regarding.

  • Eriol_Eandur

 



 Comments   
Comment by Eriol_Eandur [ 30/Jul/17 ]

Ok, thanks for looking into it.

Comment by md_5 [ 30/Jul/17 ]

I can confirm this in Vanilla.
You can try reporting to bugs.mojang.com but I think it is invalid because doors should not be split.

Comment by md_5 [ 30/Jul/17 ]

You need to test this aith the vanilla server.
Also I'm not sure splitting a door in half is valid behaviour

Comment by Eriol_Eandur [ 30/Jul/17 ]

We try to be open for unmodded clients, but anyway thanks for the information.

Comment by Black Hole [ 30/Jul/17 ]

I think this is a vanilla issue. Since there are some radical changes planned in Minecraft 1.13, I doubt someone will look into this before the update.

You should consider using Forge for even more possibilities.

Generated at Tue Apr 08 03:01:41 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.