Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings

Andrew's Datapack Utils

Useful utilities for datapacks, such as a calculator and allowing player data modification, and more.

703
1
Library
Management
Utility
AboutChangelogVersions
All versionsAndrew's Datapack Utils 1.2.0

Andrew's Datapack Utils 1.2.0

Download
Report

Changelog

Additions

  • /aputils attack_cooldown (single player selector)
    No permissions needed, for now.
    Get the attack cooldown progress of a player. Returns the current progress of the specified player's attack cooldown, as a percent, to /execute store result. The command feedback for the command says "The attack cooldown progress of %s is %s", where the first %s is replaced with the player that the provided selector targets, and the second %s is replaced with the attack cooldown progress of the player as a value from 0 to 1.
  • /aputils despawn (non-player entity/entities)
    Requires Permission Level 2
    Despawns an entity/entities. Not the same as /kill, which kills the entity/entities. This command despawns the entity/entities, not triggering any death events or dropping any items. Just straight up removing the entity/entities from existence. If the selector used includes a player (not if it allows players, only if it includes a player at the time of the command running), the command fails and doesn't despawn any entities. This is to prevent you from breaking the game.

But since I hate restrictions,

  • /aputils despawn (ANY entities) force
    Ignores the player check for this command and forces the entities to despawn regardless of if they are a player. Requires permission level 4, so functions and command blocks can't run the command with force

Changes

  • Changed fabric.mod.json to 'recommend' Minecraft 1.21.5 instead of 'depend' on it, so it hopefully is able to help datapacks on older versions of Minecraft.
  • /aputils velocity (vector3) (add|set)
    • (add|set) can now be omitted.
      • if it is omitted, uses the same behavior as specifying set.

Files

AndrewsPackUtils-1.2.0.jar(17.77 KiB) Primary
Download

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Metadata

Release channel

Release

Version number

1.2.0

Loaders

Fabric

Game versions

1.21.2, 1.21.3, 1.21.4, 1.21.5, 25w14craftmine, 25w15a, 25w16a, 25w17a

Downloads

515

Publication date

April 24, 2025 at 4:15 PM

Publisher

AndrewGaming587

AndrewGaming587

Member

Version ID

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.