-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rope Ladders Update #881
Rope Ladders Update #881
Conversation
MichaelModulo
commented
Jun 10, 2023
•
edited
Loading
edited
- Replaced villager with interaction entity.
- Ladder can now extend into any replaceable block.
- Players in adventure mode can no longer extend ladders.
- Fixed bug related to incorrect ladder stack being extended.
{ | ||
"values": [ | ||
"water", | ||
"bubble_column" | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this not use #gm4:water
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know that was a block tag that existed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this in-game and everything still works as expected.
I found some non-blocking issues that we should deal with in the near future, or in this PR if there's enough time before this is merged:
- when placing ladders, the setblock mode is currently
replace
, which means that tall grass or seagrass simply disappear, without any breaking sound or particles. Simply setting this todestroy
would fix this. - the block tag
gm4_rope_ladders:valid_replace
only containsgm4:replaceable
and is there somwhat pointless. This could be removed.
@SpecialBuilder32 please verify that your hitbox concerns have been resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two tiny comments, but nothing that's very important to fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file isn't used anywhere and could be removed
# place ladder | ||
execute unless block ~ ~ ~ water run clone ~ ~1 ~ ~ ~1 ~ ~ ~ ~ | ||
execute if block ~ ~ ~ water run function gm4_rope_ladders:mechanics/ladder_placement/place_water_ladder | ||
execute unless block ~ ~ ~ #gm4:water run clone ~ ~1 ~ ~ ~1 ~ ~ ~ ~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
technically this means that if the ladder above is waterlogged it will incorrectly copy a waterlogged ladder. However the only method I found to do this is by replacing light blocks (as they are replaceable but stop water flow), so it's not a big deal.