Skip to content

AlexiyOrlov/satako

Repository files navigation

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:

  1. killall - similar to kill, lets you specify namespace and path separately
  2. removeall - same as killall, but removes the entities instead of killing them
  3. give2 - same as give, but lets you specify the namesapce and path separately
  4. summon2 -same as summon, 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages