Back to mods
Commander Lib project artwork

Modrinth · Minecraft mod

Commander Lib

A datapack library that allows for movement states and durations to be easily detected through tags and scores, as well as easily applying vertical motion, colored glow etc.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Commander Lib release matches 1.20.5?

Updated 2 years ago
Best match for your filters 0.0.2
Game version 1.20, 1.20.1, 1.20.2
Loader Fabric, Forge, Quilt

Commander Lib 0.0.2 targets 1.20, 1.20.1, 1.20.2 with Fabric, Forge, Quilt. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Commander Lib required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Forge, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Commander Lib 0.0.2 need?

0.0.2 on 1.20.5. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Commander Lib without breaking your instance.

Built for Commander Lib 0.0.2 on 1.20.5. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.0.2. It targets 1.20, 1.20.1, 1.20.2 with Fabric, Forge, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.0.2. It opens that exact file at the source.

About this project

What does Commander Lib add?

Uses

  • Detect motion states easily through tags and scores
  • Easily apply vertical motion with tags
  • Easily prevent fall damage with tags
  • Easily apply glow of any vanilla preset color with tags
  • Easily detect cardinal and vertical directions that an entity is facing with tags

Tags

  • commander_lib.up_(1-20)

    • Applies an upwards boost with its magnitude corresponding to the number added in the tag
  • commander_lib.no_fall_perm

    • Provides permanent fall damage prevention for as long as the tag is applied
  • commander_lib.no_fall

    • Provides one-time fall damage prevention
    • Tag is removed when entity/player touches the ground
  • commander_lib.(color)_glow

    • Applies a colored glow to the entity/player for as long as the tag is applied
    • The colour can be set to one of the following:
      • red
      • aqua
      • black
      • blue
      • gold
      • gray
      • green
      • light_purple
      • yellow
      • dark_aqua
      • dark_blue
      • dark_gray
      • dark_green
      • dark_purple
      • dark_red
  • commander_lib.sneaking

    • This tag is automatically given/removed if the player is sneaking/not sneaking
  • commander_lib.sprinting

    • This tag is automatically given/removed if the player is sprinting/not sprinting
  • commander_lib.swimming

    • This tag is automatically given/removed if the player is swimming/not swimming
  • commander_lib.jumped

    • This tag is automatically given/removed if the player jumps
  • commander_lib.facing_(direction)

    • This tag is automatically applied to all entities and shows which cardinal/vertical direction the entity is facing. Directions include:
      • north
      • south
      • east
      • west
      • north_east
      • north_west
      • south_east
      • south_west
      • up
      • down

Scores

  • commander_lib.sneaking_time

    • Provides the amount of ticks a player has been sneaking for
  • commander_lib.sprinting_time

    • Provides the amount of ticks a player has been sprinting for
  • commander_lib.swimming_time

    • Provides the amount of ticks a player has been swimming for

Project description from Modrinth.

Pick your setup

Commander Lib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

28 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Commander Lib versions and loaders

4 of 4 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.