Uh oh!
There was an error while loading. Please reload this page.
docs(AOneBlock): explain phase weights and add a phase customization guide - #85
Merged
Merged
Conversation
…guide Admins had no way to find out what the numbers after a Material or EntityType in a phase file mean. They are relative weights in a single raffle - not counts and not percentages - and blocks, mobs and custom-blocks all draw from that same pool. None of that was written down anywhere. Adds a dedicated "Customizing Phases" page covering the three distinct kinds of number in a phase file, the weighted pool with worked examples and tuning recipes, chest rarity, fixedBlocks/holograms positions, phases_index.yml order and length, commands, requirements, custom blocks, version gating, building a phase from scratch, and a troubleshooting table keyed off the actual log messages. Also corrects the AOneBlock overview page, which described weights only as "relative probability" and did not mention that mob weights count towards the same total as block weights. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017zwLryefnJ6wG76JmYNamx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
An admin asked:
They were right, and there was nowhere in the docs that said so. The overview page called them "relative probability" in one tabbed panel, and never mentioned that
blocks:,mobs:andcustom-blocks:all draw from a single shared pool — so a mob weight is directly comparable to a block weight and pushes every block's percentage down.What
New page —
gamemodes/AOneBlock/Phases.md, "Customizing Phases", added to the nav under AOneBlock. It covers:blocks/mobs/custom-blocks), positions (fixedBlocks/hologramskeys), and the section name (the top-level'0':key).weight ÷ phase totalformula, a worked example using the exact Winter phase the admin quoted, a table of the real shipped Plains percentages showing blocks and mobs interleaved in one pool, why only the ratio matters, and tuning recipes.CHESTas a special case: its weight is the chance of a chest, and rarity is a second roll at the hard-coded 62/25/9/4.fixedBlocksandhologramspositions,CHEST_WITH_<ITEM>, and the support-block caveat.phases_index.ymlorder/length, and that file-name numbers are only a hint now.setchest" advice.probability:is a weight in the same pool — and the quoting and spawner-timing gotchas.Overview page fixes (
gamemodes/AOneBlock/index.md):blockstab now says "weight", explains the raffle, and notesCHEST's two-stage roll.mobstab gains a warning that mob weights share the block total, with the real Plains numbers.probabilityis a weight in the same pool, and documents thecustom-blocks:sibling list.Companion change in AOneBlock itself rewrites the comments in the shipped
0_plains.yml, which is where admins look first.mkdocs buildpasses; all new internal links and anchors resolve.