Satako is a library for Neoforge and Fabric modding, which I use in many mods. It contains:
- simple to use class for color
- custom Slot implementations
- convenient custom implementation of AbstractContainerMenu
- convenient to use custom implementation of AbstractContainerScreen, which allows slots with custom colors
- custom UI elements: text field, button, label, radio button, switch button, toggle button, drop-down button
- several rendering methods
- functions for converting time to and from Minecraft ticks
- randomized and unique element list implementations
- other useful functions and methods
It also adds 4 commands to the game:
killall- similar to kill, lets you specify namespace and path separatelyremoveall- same askillall, but removes the entities instead of killing themgive2- same asgive, but lets you specify the namesapce and path separatelysummon2-same assummon, but lets you specify namespace and path arguments separately.
If you want to develop mods using Satako, you just need to add following repository:
maven {
url 'https://mymavenrepo.com/repo/XXNTQu0VdMr93BjoOV1S/'
}
For versions up to 1.20 add this dependency:
implementation fg.deobf('dev.buildtool:satako:[version]')
Starting with 1.21, satako is built for Fabric and Neoforge, so you can use following coordinates:
implementation("dev.buildtool:satako-common:satako_version")
implementation("dev.buildtool:satako-neoforge:satako_version")
modApi("dev.buildtool:satako-fabric:satako_version")
If you have any questions, ask them in the discord