APIs for creating tech add-ons for Minecraft: Bedrock Edition.
Bedrock Energistics Core handles the parts every tech add-on would otherwise have to build for itself — networks, storage, machine UI — so that machines from separate add-ons can be placed side by side and work together.
[!WARNING] Bedrock Energistics Core is in beta. Every API is marked
@betauntil v1.0, which means minor updates may contain breaking changes across all APIs. See Versioning.
Features
- Machines using these APIs work with each other even if they're from different add-ons.
- Simple APIs for basic machines, while still having more powerful APIs for more complicated machines.
- Item storage APIs without persistent entities.
- Easily create machine UI.
- Create your own storage types (water, lava, etc) and share them between add-ons, not just energy.
Requirements
Each release notes the Minecraft and @minecraft/server versions it supports. See releases.
Getting Started
Bedrock Energistics Core is a dependency add-on. It adds no player-facing content of its own; it provides the APIs that other add-ons build on.
Your add-on talks to it through the bedrock-energistics-core-api npm package, which is bundled with the rest of your scripts:
npm i bedrock-energistics-core-api@latest
See Getting Started.
Configuration
Advanced options can be configured by editing scripts/__config.js in the behavior pack with any text editor. This is for whoever ships the behavior pack, not for add-ons that only use the API.