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

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.

Загрузки
530
Подписчики
1
Обновлён
29 июня 2024 г.
Лицензия
MIT

Опубликован 27 июня 2024 г.

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

Ченджлог

0.0.2Релиз1.20.4, 1.20.5, 1.20.6 · 29 июня 2024 г.

Changed Tags:

  • commander_lib.no_fall -> commander_lib.no_fall_perm
  • commander_lib.no_fall_no_perm -> commander_lib.no_fall

Added Tags:

  • commander_lib.facing_up
  • commander_lib.facing_down
  • commander_lib.facing_north
  • commander_lib.facing_south
  • commander_lib.facing_east
  • commander_lib.facing_west
  • commander_lib.facing_north_east
  • commander_lib.facing_north_west
  • commander_lib.facing_south_east
  • commander_lib.facing_south_west
  • commander_lib.invisible
  • commander_lib.up_(1-20)

Removed Tags:

  • commander_lib.up_with_no_fall
  • commander_lib.up

See description for tag usages

0.0.2Релиз1.20.4, 1.20.5, 1.20.6 · 29 июня 2024 г.

Changed Tags:

  • commander_lib.no_fall -> commander_lib.no_fall_perm
  • commander_lib.no_fall_no_perm -> commander_lib.no_fall

Added Tags:

  • commander_lib.facing_up
  • commander_lib.facing_down
  • commander_lib.facing_north
  • commander_lib.facing_south
  • commander_lib.facing_east
  • commander_lib.facing_west
  • commander_lib.facing_north_east
  • commander_lib.facing_north_west
  • commander_lib.facing_south_east
  • commander_lib.facing_south_west
  • commander_lib.invisible
  • commander_lib.up_(1-20)

Removed Tags:

  • commander_lib.up_with_no_fall
  • commander_lib.up

See description for tag usages

0.0.1Релиз1.20.4, 1.20.5, 1.20.6 · 28 июня 2024 г.

Release version

0.0.1Релиз1.20.4, 1.20.5, 1.20.6 · 27 июня 2024 г.

Release version

Комментарии

Загружаем…