Mineuniverse
Data Packs
Commander Lib

Commander Lib

DATA PACK
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.
by DaCommander31
Download Claim this project
104 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Library Tech Utility
Advertisement Remove ads with Premium →

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

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
Commander Lib 0.0.2
MC 1.20.2, 1.20.5, 1.20.3, 1.20.1, 1.20, 1.20.6, 1.20.4
Release 2024-06-29 Get
Commander Lib 0.0.1
MC 1.20.2, 1.20.5, 1.20.3, 1.20.1, 1.20, 1.20.6, 1.20.4
Release 2024-06-28 Get

Requirements & install

How to use this data pack in Minecraft
Mods needed
None, works in vanilla
Minecraft
1.20 – 1.20.6
Install folder
saves/<world>/datapacks

How to install data packs

  1. Download the data pack .zip file (do not extract it).
  2. New world: click Data Packs on the world creation screen and drop the .zip in. Existing world: open .minecraft/saves/<world>/datapacks.
  3. Put the .zip into the datapacks folder of the world (servers: world/datapacks).
  4. Run /reload in game (or rejoin the world) and check it with /datapack list.
Browse more: Data Packs for 1.20.6 All data packs

More from DaCommander31

Advertisement Remove ads with Premium →

You Might Also Like