Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Awakened-Redstone/CubeController

Repository files navigation

A library for executing actions, such as modifying the game behavior or applying a random potion to the players, that can be controlled by another mod, a datapack or the player.

Basics

The mod contain some controls by default, some of them are entity_jump, potion_chaos and inventory_shuffle

To modify or read a control information you can use the /gamecontrol command
The command format is /gamecontrol <control> (get|set|invoke)

The mod offers a way to always show or hide the information shown on the client screen with the NBT {alwaysVisible: true/false} and {hideInfo: true/false}

Advanced

To set a control NBT run the command /gamecontrol <control> set data <NBT>
To force the NBT to be exactly what you insert in the command use /gamecontrol <control> set dataRaw <NBT>
Be careful! When using set dataRaw the NBT will be exactly as you type, so if you don't insert it properly it can use more storage/RAM

All data is saved on the world data folder: <gamedir>/saves/<world>/data/cubecontroller.dat

Any mod can add easily add a new control using the library register methods developer wiki (WIP)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages