Skip to contents

bedrocktrader provides normalized vanilla villager trades for Minecraft: Bedrock Edition 1.26.30.5. The data and modeled outcomes are bundled with the package, so its public functions return ordinary base R data frames without downloading files or reading GITHUB_PAT.

Meta

villager_professions() lists accepted professions and summarizes important trade-table features. villager_variants() connects biome names with Mojang's minecraft:mark_variant values. villager_tiers() pairs each numeric tier with its name and cumulative experience requirement. enchantments() provides the pinned enchantment registry and villager availability.

Data

villager_trades() follows Mojang's tiers, groups, trades, wants, and gives terminology. Its trade, option, and offer views move from summarized source rows to exact item specifications and prices. Every view reports the probability represented by its rows.

Analysis

enchanted_book_probability() calculates the chance that a fully unlocked librarian has a qualifying book. enchanted_item_probability() evaluates complete enchantment sets on directly traded equipment.

Version and modeling boundary

This package supports 1.26.30.5 only. Source-resolved rows come directly from Mojang's pinned trade tables. Librarian books and enchanted equipment use documented models; random_dye remains marked as engine-generated. Later Bedrock versions are unsupported until their data and mechanics are reviewed and the bundled model is regenerated.

Licensing

The R code is GPL-3-or-later. Normalized values derived from Mojang's Bedrock Samples remain subject to Mojang's license notice and the Minecraft EULA. bedrocktrader is independent of Mojang and Microsoft.

Author

Maintainer: Rento Saijo rentosaijo0527@gmail.com (ORCID) [copyright holder]

Authors: