Bounding box of semi-empty blocks
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- game-dev
Research direction
The issue names the blockShape and boundingBox properties but no files, tests, or entry points. Start by locating where those properties are defined and consumed, then review how metadata and approach direction affect doors and stairs. Done requires a decided representation for semi-empty blocks and agreement on whether boundingBox, blockShape, or a derived value should be used.
Written by the indexing model from the issue text.
Description
This issue aim to open the discussion about what we should do for block bounding boxes in general. We now have the blockShape property that is the exact representation of the block for all it's states. But this format is a bit more complex to handle than the binary "empty" / "block" representation we had before.
The applications of this data are (non-exhaustive):
- Physic simulation (done using blockShape directly)
- Pathfinding (done using binary info, doesn't handle well special cases, considering to use blockShape)
The questions are:
- do we want to continue using the boundingBox property or de we move toward using blockShape or a derived value ?
- at the moment boundingBox is either empty or block, what should we label the blocks that are neither ?
Special cases to consider:
- some block shape depends on the state of the block (metadata), for instance doors can be open or closed
- some block can collide depending on the direction the player is coming from (doors, stairs)
- Dominant language
- JavaScript
- Stars
- 938
- Forks
- 294
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 25
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PrismarineJS/minecraft-data
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
PrismarineJS/minecraft-data#1299 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
PrismarineJS/minecraft-data#1222 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
PrismarineJS/minecraft-data#1197 · 1 comment ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
PrismarineJS/minecraft-data#1174 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
PrismarineJS/minecraft-data#1171 ·
All issues in PrismarineJS/minecraft-data
Similar issues
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100