Перейти к содержимому
Mineforgian

RetroCommands

Retro Commands built on Fabric for b1.7.3, but it also works in Multiplayer and has an API.

Загрузки
15K
Подписчики
11
Обновлён
3 августа 2026 г.
Лицензия
MIT

Опубликован 23 марта 2024 г.

Retro Commands for b1.7.3

  • it works on servers
  • it has an extensible API.
  • No dependencies required

Optional Dependencies

  • To access /tp with dimensions, install STAPI
  • To access /gamemode, install BHCreative

Help

  • Use /help in-game

API

Note: Please make Retro Commands optional!!

build.gradle

repositories {
    maven {
        name = "Jitpack"
        url "https://jitpack.io/"
    }
}

dependencies {
    modImplementation('com.github.matthewperiut:retrocommands:0.5.2') {
        transitive false
    }
}

fabric.mod.json

  "suggests": {
    "retrocommands": "*"
  },

in your mods initialization

public static void init_of_some_sort()
{
    if (FabricLoader.getInstance().isModLoaded("retrocommands")){
        MyModsCommands.add();
    }
}

implement com.matthewperiut.retrocommands.api.Command

register with com.matthewperiut.retrocommands.api.CommandRegistry
CommandRegistry.add(new Command())

new Command() replaced with your custom command.

Add your own summon command for your entities

Use com.matthewperiut.retrocommands.api.SummonRegistry
SummonRegistry.add(...)

Examples from com.matthewperiut.retrocommands.util.VanillaMobs

SummonRegistry.add(Creeper.class, (level, pos, param) -> {
    Creeper creeper = new Creeper(level);

    if (param.length > 5)
        if (!param[5].isEmpty())
            if (param[5].charAt(0) != '0')
                ((EntityAccessor) creeper).getDataTracker().setInt(17, (byte) 1);

    return creeper;
}, "{charged (0 or 1)}");

SummonRegistry.add(Sheep.class, (level, pos, param) -> {
    int color = Integer.parseInt(param[5]);
    int has_wool = 1;
    if (param.length > 6)
        has_wool = Integer.parseInt(param[6]);
    Sheep sheep = new Sheep(level);
    sheep.setSheared(has_wool == 0);
    sheep.setColour(color);
    return sheep;
}, "{wool color meta} {has wool (0/1)} ");

Ченджлог

0.7.5+babricРелизb1.7.3 · 3 августа 2026 г.

Babric and Ornithe release

OSL is now embedded in both jars, so retrocommands runs standalone on either loader without installing OSL separately.

Internally, retrocommands no longer exports any of its dependencies to mods that depend on it — previously all of OSL, cryonicconfig, starac and retroapi leaked through transitively. Dependency mods are reached by reflection instead.

Full Changelog: https://github.com/matthewperiut/retrocommands/compare/0.7.4...0.7.5

0.7.5Релизb1.7.3 · 3 августа 2026 г.

Babric and Ornithe release

OSL is now embedded in both jars, so retrocommands runs standalone on either loader without installing OSL separately.

Internally, retrocommands no longer exports any of its dependencies to mods that depend on it — previously all of OSL, cryonicconfig, starac and retroapi leaked through transitively. Dependency mods are reached by reflection instead.

Full Changelog: https://github.com/matthewperiut/retrocommands/compare/0.7.4...0.7.5

0.7.4+babricРелизb1.7.3 · 10 июня 2026 г.

Babric and Ornithe release Lots of things... that i can't be bothered to name. look at github.

0.7.4Релизb1.7.3 · 10 июня 2026 г.

Babric and Ornithe release Lots of things... that i can't be bothered to name. look at github.

0.5.10Релизb1.7.3 · 13 июля 2025 г.

What's Changed

Other

Full Changelog: https://github.com/matthewperiut/retrocommands/compare/0.5.9...0.5.10

0.5.7Релизb1.7.3 · 6 мая 2025 г.

Fix compatibility with anti-cheat servers

0.5.6Релизb1.7.3 · 15 апреля 2025 г.

Move from internal logic networking to Glass Networking

0.5.5Релизb1.7.3 · 13 апреля 2025 г.

Add disabling commands and add mojangfix stuff

What's Changed

Other

Full Changelog: https://github.com/matthewperiut/retrocommands/compare/0.5.4...0.5.5

Комментарии

Загружаем…