PrismarineJS / PrismarineJS/minecraft-data

Add block bounding box data

Open
#560 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

pc
Dominant language
JavaScript
Stars
938
Forks
294
Avg merge
2d 10h
Merged PRs (30d)
23

Description

The current block shapes data only represents a blocks collision box but not a blocks bounding box as seen when hovering over a block.

The current name used in mineflayer is also misleading as it implies that you can select blocks with something like a raycast operator by there bounding box. This does however not work as blocks like wheat that are treated like empty blocks because they have no collision and therefor no shape data.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the current block shapes data and tracing how collision boxes are represented. Compare that data with the bounding boxes shown when hovering over blocks, including blocks such as wheat that have no collision shape; done means the dataset exposes distinct bounding-box data without implying raycast selection support.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.