Missing rarity field on minecraft:weight

Open Beginner friendly
#976 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Domain
documentation

Research direction

Start by locating the reference page for the nested table minecraft:weight, then compare its documented default field with vanilla wolf and armadillo entity definitions. Document rarity's field name, accepted type or values, interaction with default, and a short vanilla-style example; the page should fully explain the field's observed usage.

Written by the indexing model from the issue text.

Description

Describe the missing content:
The reference documentation for the nested table minecraft:weight is missing the rarity field. The current page only documents default, but rarity is also used in vanilla entity files and is not described anywhere on the page. This creates a gap in the reference documentation because creators can encounter the field in vanilla behavior/entity data without any official explanation of its purpose, or how it interacts with weighted selection.

Vanilla usage example:
rarity is used in vanilla Minecraft: Bedrock Edition entity files, including wolf and armadillo definitions, but it is currently undocumented in the minecraft:weight nested table reference. This suggests the field is supported in practice even though it is absent from the official documentation.

Additional context:
This appears to be a documentation gap rather than a request for a new feature. It would be helpful for the page to include:

the rarity field name
its accepted type or allowed values
how it behaves alongside default
a short vanilla-style example showing it in context

Dominant language
JavaScript
Stars
258
Forks
161
PR merge metrics
No merged PRs in 30d

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.

More from MicrosoftDocs/minecraft-creator

All issues in MicrosoftDocs/minecraft-creator

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.