A command-line world editor for Minecraft Bedrock Edition (MCPE). Edit level.dat settings, player inventory, armor (with trim support), ender chest, status effects, entities, and tile entities - all through an interactive terminal interface.
Ported from the Android app dev.astler.inventoryeditormc, which stopped working after Android restricted access to Android/data/.
- Python 3.13+
- Linux (tested on Debian/Parrot)
python -m venv virtual
source virtual/bin/activate
pip install -e .Launch the interactive editor:
mcpeworldOr run directly:
python -m mcpeworldItem, enchantment, effect, and armor trim data is fetched from minecraft.wiki and cached in a local SQLite database. On first run, enchantments, effects, and trims are populated automatically. Items must be fetched manually.
mcpeworld --update-item
mcpeworld --update-enchantment
mcpeworld --update-effect
mcpeworld --update-trim
mcpeworld --update-allWorld name, seed, game mode, difficulty, time, spawn position, generator type, cheats toggle, player health, player level, and 22 game rules.
All 36 inventory slots - change items (fuzzy search from database), stack size, damage value, custom display names, and enchantments filtered by item category.
Head, chest plate, leggings, boots, and off-hand slots. Supports armor trim editing - pick a pattern and material from the database, stored as tag.Trim.Material / tag.Trim.Pattern in NBT.
Same editing capabilities as the main inventory.
Add, edit, and remove active effects. Supports setting amplifier level (1–255), duration in seconds, and infinite duration.
Browse all entities in loaded chunks with health, position, baby/tamed status, equipment, and variant info. Edit health, custom name, position, or delete entities entirely.
Grouped by type for easier navigation. Editable tile entities:
- Signs / Hanging Signs - front and back text
- Command Blocks - command string
- Mob Spawners - entity identifier
- Beds - color
- Banners - base color and pattern layers
- Containers (Chests, Furnaces, Barrels, Brewing Stands, Blast Furnaces, Smokers, Shulker Boxes, Chiseled Bookshelves) - add, edit, and remove items
- Campfires - edit each of the 4 item slots
- Item Frames / Glow Item Frames - set or clear the displayed item
Automatic backup on first world open. Manual backup creation and restoration from the Backups menu.
Import worlds from a folder or .mcworld file (ZIP archive). Export worlds back to .mcworld.
Working worlds live in resources/mcworlds/. Backups are stored in resources/mcworlds/.backups/{worldId}/{timestamp}/.
- Bedrock uses Little Endian NBT with standard UTF-8 encoding
.mcworldfiles are ZIP archives containing a world folder- LevelDB stores player data under the
~local_playerkey level.dathas an 8-byte header before the NBT payload- Item enchantments are filtered by category (swords get sword enchantments, armor gets protection, etc.)
All mcpeworld source code is licensed under the GNU General Public License v3. Please see the original document for more details.
This project is not affiliated with Mojang or Microsoft.

