/YouKnowWhen-lib

A minecraft datapack library/toolset

Primary LanguagemcfunctionMIT LicenseMIT

Summary

Version: 1.21

A datapack with a bunch of libraries/tools for standarizing basic functionalities a code/map maker can use. Inside each subforder you can find a README with intstructions on how to use them. These libraries are:

Numeric libs

  • countdown Have up to two score based countdowns for each entity.
  • rng Generates a random value betwen a min and max range. After 1.20.2 you should use /random.
  • elister List usually used entities when doing commands/map making.
  • const Loads some constant integer to the const scoreboard

Entity motion libs

  • ebackoff A library for making entities backoff from a target (point in space) in the XZ axes
  • eapproach A library for making entities beapproach a target (point in space) in the XZ axes
  • launch A library for launching/throwing entities arround based on a vector. This libs don't work on players

Entity attribute libs

  • attribute Set any entity attributes using scoreboards.
  • damage A library to apply custom damage to entities.
    • By default takes into account: damage reduction of armor, armor_toughness and resistance effect, game difficulty
    • After damage is applyed, custom functions can be run.

Entity other libs

  • mdd Used to do trigger functions when and where an entity dies.
  • olink A datapack for linking entities.
    • Each entity can conccurently have up to two links, each divided into it's channel.

The libraries launch, olink, rng are based on Cloud Wolf implementations, the damage lib is based on AESTD and the ebackoff lib is based on FlanDere Pillager Tweaks.

Other usefull libs

  • mrcd Super precise raycast system in vanilla minecraft with minimal command cost.
  • AESTD tility data pack for Minecraft designed to help command learners and advanced command.
  • Score-Based-Damage This is a data pack that allows you to damage and heal players based on a score.
  • Minecraft-Random Adds functions for random number generation and randomness-based predicates.