All Mods Resource Packs Data Packs Shaders Modpacks Plugins
RetroCommands

RetroCommands

by Slainlight • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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 {
    exclusiveContent {
        forRepository {
            maven {
                name = "Modrinth"
                url = "https://api.modrinth.com/maven"
            }
        }
        filter {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    def retroCommandsJar = configurations.detachedConfiguration(
      dependencies.create("maven.modrinth:retrocommands:${project.properties['retrocommands_version']}")
    )
    retroCommandsJar.transitive = false
    modLocalRuntime files(zipTree(retroCommandsJar.singleFile).matching { include 'META-INF/jars/*.jar' }.files)
}

or build.gradle.kts if that's your tempo

repositories {
    exclusiveContent {
         forRepository {
                 maven("https://api.modrinth.com/maven")
         }
         filter {
                 includeGroup("maven.modrinth")
         }
    }
}

dependencies {
        val retroCommandsJar = configurations.detachedConfiguration(
            dependencies.create("maven.modrinth:retrocommands:${project.properties["retrocommands_version"]}")
          ).apply { isTransitive = false }
          modLocalRuntime(files(zipTree(retroCommandsJar.singleFile).matching { include("META-INF/jars/*.jar") }.files))
    }
}

fabric.mod.json

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

in your mods initialization

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

implement api.com.periut.retrocommands.Command

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

new Command() replaced with your custom command.

Add your own summon command for your entities

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

Examples from util.com.periut.retrocommands.VanillaMobs

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

    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, (world, 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(world);
    sheep.setSheared(has_wool == 0);
    sheep.setColour(color);
    return sheep;
}, "{wool color meta} {has wool (0/1)} ");

Configuration

Cryonic Config is required for this feature.
This file generates when using a command for the first time
To disable commands go to {mc_dir}/config/retrocommands.json and in the json under "disabledCommands", set the value to commands you want to disable separated by commas
Examples:

{
  "disabledCommands": "help,give,hat"
}
{
  "disabledCommands": "hat"
}

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
b1.7.3
Babric
3mo ago 1
b1.7.3
Ornithe
3mo ago 1
b1.7.3
Babric
5mo ago 1
b1.7.3
Ornithe
5mo ago 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric Fabric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
b1.7.3
Babric
last yr. 1
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.

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.

Babric and Ornithe release
Lots of things... that i can't be bothered to name. look at github.
Babric and Ornithe release
Lots of things... that i can't be bothered to name. look at github.
[0.5.10] 0.5.10 by Slainlight on Jul 13, 2025
Download
<!-- Release notes generated using configuration in .github/release.yaml at master -->

## What's Changed
### Other


[0.5.7] 0.5.7 by Slainlight on May 06, 2025
Download
Fix compatibility with anti-cheat servers
[0.5.6] 0.5.6 by Slainlight on Apr 15, 2025
Download
Move from internal logic networking to Glass Networking
[0.5.5] 0.5.5 by Slainlight on Apr 13, 2025
Download
Add disabling commands and add mojangfix stuff

<!-- Release notes generated using configuration in .github/release.yaml at master -->

## What's Changed
### Other


[0.5.4] 0.5.4 by Slainlight on Oct 31, 2024
Download
Minor bug fixes
[0.5.3] 0.5.3 by Slainlight on Oct 31, 2024
Download
<!-- Release notes generated using configuration in .github/release.yaml at master -->

Improve commands

[0.5.2] [b1.7.3] 0.5.2 by Slainlight on Oct 14, 2024
Download
Rebrand and update
[0.5.0] [b1.7.3] 0.5.0 by Slainlight on Sep 30, 2024
Download
Improve server/client handling
Improve appearance of commands
[0.4.5] [b1.7.3] 0.4.5 by Slainlight on May 03, 2024
Download
Officially Support [MojangFix StationAPI](https://modrinth.com/mod/mojangfix-stationapi-edition)
Should work together flawlessly
Single Player Commands implemented with Babric b1.7.3
RetroCommands Icon
Download RetroCommands
Select game version
Select platform