SubathonLib (Old)
An old library for the sub-a-thon mod (previously called CubeController)
- Загрузки
- 431
- Подписчики
- 0
- Обновлён
- 5 июня 2022 г.
- Лицензия
- LGPL-3.0-only
Опубликован 25 мая 2022 г.
Deprecated project
A proper documentation will be available with Beta 5 release
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.
In other words, a library to break the game with control.
Basics
The mod contain some controls by default, some of them are
,
entity_jump and
potion_chaos
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)

Ченджлог
1.0.0-beta.4Бета1.19 · 5 июня 2022 г.
Changes:
- Update to 1.19
- Added
schulk_spread_chaos - Added
sculk_charge_no_limit - Added
limitsupport for controls (limitis adoubleset on the control NBT) - Added an error message if someone tries to set the value above the limit
Planned features:
- Creation of new modes/controls using datapacks
- Configs
1.0.0-beta.3Бета1.18.2 · 30 мая 2022 г.
Changes:
- Small bug fixes
- Added crowdin support
- Added support for
invokeoninventory_shuffle - Added a primitive datapack support
Planned features:
- Creation of new modes/controls using datapacks
- Configs
Комментарии
Загружаем…