MinecraftToolbox

Command Minecraft (TM) from MATLAB using this Toolbox and Minecrat Forge modding software. Contains tools to allow easy modding setup.
262 Downloads
Updated 27 Sep 2018

View License

https://www.youtube.com/watch?v=0tFP3koYDiI&t=5s

This Add-On exposes static methods to allow MATLAB to send commands to the game. By default, this Add-On will send messages to a Minecraft (running our mod) on localhost at port 57777. The address and port of the running Minecraft can be modified by setting the following environment variables before starting MATLAB:
MW_MINECRAFT_ADDRESS - IP address or hostname where the modded Minecraft is running.
MW_MINECRAFT_LISTENING_PORT - Port to send commands to.

Similarly, before starting the modded Minecraft, the following environment variables can be used to specify the appropriate MATLAB to communicate with:
MW_MATLAB_LISTENING_ADDRESS - IP address or hostname where MATLAB is running.
MW_MATLAB_LISTENING_PORT - Port MATLAB will listen to (defaults to 58777).

The Setup.installForge function can be used to initiate the mod installation. Be sure to install Minecraft before running Setup.installForge.

Cite As

Brendan Cashman (2024). MinecraftToolbox (https://www.mathworks.com/matlabcentral/fileexchange/60546-minecrafttoolbox), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.1

Updated copyrights.

1.0.0.0

Addressed reviewer feedback.