PrismarineJS / PrismarineJS/minecraft-data

Block loot data for leaves is insufficient

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

Nobody has claimed this yet.

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

Description

Leaves only drop as items when harvested with shears or with a tool with silk touch, but there is no such indication. Instead, all we have is

{
  "item": "oak_leaves",
  "dropChance": 0.5,
  "stackSizeRange": [
    1,
    1
  ]
},

...which is somewhat misleading.

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 leaf loot data records and checking how their fields are represented and consumed. Determine how the shears and Silk Touch requirements should be expressed, then update the relevant entries so the data no longer implies leaves drop unconditionally. Confirm that the resulting schema and values accurately describe the stated harvesting conditions.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.