The bug
Some mobs don't properly interact with the new crimson/warped doors:
Villagers/vindicators can't open the crimson/warped doors like they normally do to other doors.
Zombies/vindicators can't break crimson/warped doors, like they normally do to other doors in sieges and raids.
Notes: For personal testing of this issue, replace all existing doors in a village with the crimson/warped doors and observe how villagers, vindicators and zombie behave.
Results
Villagers are stuck inside/outside of their own houses.
Vindicators are unable to break/open these doors, during a raid.
Zombies with the
CanBreakDoors
tag are unable to break/open these doors.
Code Analysis
Code analysis by @unknown can be found in this comment
Linked issues
is duplicated by 1
Attachments
Comments 5
Are you sure this affects 20w07a and 20w08a? I was able to reproduce this in 20w06a, but not in 20w07a or 20w08a. (All of my testing was with villagers.) I'll attach a video of a villager opening/closing a crimson door in 20w08a. The villager behaves a little strangely by walking away from the door at first, but that might just be general villager quirkiness.
Then, why did you mark it as affected in 20w07a and 20w08a?
@unknown, can you confirm that this has been fixed in 20w07a for all the cases mentioned above?
Code Analysis
Using yarn's mappings for 2OwO6a.
In
method, only the blockstates that both are
instanceof
DoorBlock
and are made ofMaterial.WOOD
can be interacted. Crimson/warped doors which areMaterial.NETHER_WOOD
are not considiered.