An open API service indexing awesome lists of open source software.

https://github.com/Catrious/bedrockforge

Forge for Bedrock and Education Edition
https://github.com/Catrious/bedrockforge

applescript forge macos minecraft minecraft-bedrock minecraft-education python shell windows

Last synced: 6 months ago
JSON representation

Forge for Bedrock and Education Edition

Awesome Lists containing this project

README

          

# BedrockForge

**Disclaimer:**
This project is **unofficial** and is **not affiliated with, endorsed by, or sponsored by Mojang Studios or Microsoft**.
It is a personal / educational project and is intended for learning purposes only.

All trademarks and copyrights belong to their respective owners.

Click "Specify Minecraft Bedrock Location"

Add ```.bdr``` files to the ```mods``` folder

Restart BedrockForge

Click "Enable" to enable the mod, or "Disable" to disable it



# How to create a mod:

1. Create a ```mods``` folder (if non-existent) in the app folder (or create a BedrockMods folder in ~ for Mac Port)

2. Make a folder with any name inside ```mods```

3. Add inside it your behavior pack named ```behavior``` and resource pack named ```resource``` (as folders)

4. Put a icon to the folder
5. Create a ```info.json```

```Info.json``` example:

```
{
"name": "My Mod",
"version": "1.0.0",
"creator": "You",
"description": "Example BedrockForge mod.",
"requires_minecraft": "1.21",
"preview": false,
"icon": "icon.png",
"jsfile": ["main.js"]
}
```
name - Name of the mod

version - Version of the mod

creator - Person who created the mod

description - Description of the mod

requires_minecraft - The required Minecraft Bedrock version

preview - Is the mod for Bedrock preview

icon - Icon name for the mod icon

jsfile - The file that uses the JS API, can add more (like ["script1.js", "script2.js"] )

6. Add a ```.js``` file (one or more, value of jsfile in the JSON) using the Bedrock JavaScript API (required)

7. Zip the contents of the folder

8. Rename the ```.zip``` to ```.bdr```

9. Put the ```.bdr``` file directly in the root of the ```mods``` folder

10. Run BedrockForge, click Enable on your mod

# FOR DEVS:

How the Windows port works? It runs on tkinter for GUI, PIL for mod icon and os,shutil for managing files and folders

How the Mac port works? It runs on shell to run the uncompiled AppleScript and AppleScript for copying and Dialogs for GUI

The Mac port was built on Windows

The Mac port is for Edu Edition, because only Windows-based devices can run Bedrock, but ones that aren't (like Android or Mac) just have Edu