cabaletta / cabaletta/baritone
Fix world border edge placement
- Dominant language
- Java
- Stars
- 9.2k
- Forks
- 2.1k
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 3
Description
Right now it just refuses to place a block that's adjacent to the world border. This is because you can't place against a block that's outside the world border. Instead, the check canPlaceAgainst should just verify that it's inside the worldborder. This will work in both cost calculation and execution, instead of being unable to place adjacent at all, it will properly calculate whether or not it's possible to place, if there's another position to place against that's inside the border.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the canPlaceAgainst check and trace how it is used during cost calculation and execution. Verify the world-border condition for positions adjacent to the border, then confirm that placement is rejected only when no valid position inside the border can be used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100