Solving ladder placement issues #4596

Merged
the-real-herowl merged 2 commits from goodspeed/VoxeLibre:ladder-logic into master 2024-08-18 01:40:44 +02:00
Member

This MR solves two problems:

  1. Ladder can be placed on some non-solid blocks (like anvil, bed, lightning rod etc.) and can't be placed on ice, glass, glowstone and sea lanterns. Confirming to the Minecraft wiki, ladder should be able to be place on solid blocks including ice, glass etc. I think this is pretty reasonable. This behavior also tested on Minecraft 1.19. The solution is to refer to group:solid directly.
    20240816_23h23m03s_grim.png
  2. The placing sound gets played when the place to be placed with ladder is occupied (and the placing rejected). The old did try to check this occasion but it seems it's wrong. This can be triggered by placing a solid node and a fence (or any node with hole like slabs) in front and click the solid node. See the picture:
    20240816_23h28m27s_grim.png

Testing

  1. Place the ladder on anvil, bed, lightning rod etc (and also glowstone, ice and sea lantern).
  2. Follow the second picture and right click on the back node of the fence.
This MR solves two problems: 1. Ladder can be placed on some non-solid blocks (like anvil, bed, lightning rod etc.) and can't be placed on ice, glass, glowstone and sea lanterns. Confirming to the Minecraft wiki, ladder should be able to be place on solid blocks including ice, glass etc. I think this is pretty reasonable. This behavior also tested on Minecraft 1.19. The solution is to refer to `group:solid` directly. ![20240816_23h23m03s_grim.png](/attachments/53a1afbf-9a00-4af1-b00d-a07f270ed8f8) 2. The placing sound gets played when the place to be placed with ladder is occupied (and the placing rejected). The old did try to check this occasion but it seems it's wrong. This can be triggered by placing a solid node and a fence (or any node with hole like slabs) in front and click the solid node. See the picture: ![20240816_23h28m27s_grim.png](/attachments/265b51be-f04d-434f-a7fd-fc46aa37a2f1) ### Testing 1. Place the ladder on anvil, bed, lightning rod etc (and also glowstone, ice and sea lantern). 2. Follow the second picture and right click on the back node of the fence.
goodspeed changed title from ladder-logic to Solving ladder placement issues 2024-08-16 17:31:58 +02:00
the-real-herowl added the
nodes
Testing / Retest
#P4 priority: medium
labels 2024-08-16 21:55:28 +02:00
the-real-herowl reviewed 2024-08-16 21:56:35 +02:00
the-real-herowl left a comment
Owner

Code LGTM. Haven't tested yet.

Code LGTM. Haven't tested yet.

Are you on our Matrix and/or Discord?

Are you on our Matrix and/or Discord?
Author
Member

Are you on our Matrix and/or Discord?

Yes, I'm on Matrix VoxeLibre - General. @wgoodspeed:frcsm.de

> Are you on our Matrix and/or Discord? Yes, I'm on Matrix VoxeLibre - General. @wgoodspeed:frcsm.de
rudzik8 approved these changes 2024-08-17 11:05:54 +02:00
rudzik8 left a comment
Member

Tested in-game, works as expected.

Tested in-game, works as expected.
the-real-herowl removed the
Testing / Retest
label 2024-08-17 12:00:16 +02:00

Please rebase

Please rebase
teknomunk added this to the 0.88.0 – Back on Track milestone 2024-08-17 12:29:35 +02:00
goodspeed force-pushed ladder-logic from 4caf2b27cd to c03f9abd18 2024-08-17 18:38:04 +02:00 Compare
the-real-herowl merged commit a687ef19f6 into master 2024-08-18 01:40:44 +02:00
Sign in to join this conversation.
No reviewers
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#4596
No description provided.