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.

1,085
1
Library
Management
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.3–1.20.6

Platforms

Fabric
NeoForge
Quilt

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server

Creators

AndrewGaming587
AndrewGaming587 Member

Details

Licensed CC-BY-4.0
Published 8 months ago
Updated 5 months ago
DescriptionChangelogVersions

Show all versions

Andrew's Datapack Utils 1.3.0

by AndrewGaming587 on Aug 10, 2025
Download

Added a scaling system for the calculator, to scale the output passed to execute store result added sin, cos, tan, clamp, and modulo as operations usable by the calculator added aputils pathfind, which can make any mob go towards a set position or entity (does not track position changes of provided entity, only goes toward where it was when the command was run. to constantly update it, make it run every tick using a repeating command block or datapack.) added aputils target, which makes any non-passive mob target an entity (needs to be living, so stuff like item entities won't work). This does not respect a mob's view range or an entity's targetability (example, creative mode players will still be targeted by this command, although the mob will lose interest once it gets to the player)

Andrew's Datapack Utils 1.2.6

by AndrewGaming587 on Aug 10, 2025
Download

added aputils heal command

  • Only works on entities that are a LivingEntity

Andrew's Datapack Utils 1.2.5

by AndrewGaming587 on Aug 4, 2025
Download

fixed a stupid decision by me where I didn't put a mixin in the mixin config correctly

Andrew's Datapack Utils 1.2.4

by AndrewGaming587 on Jul 31, 2025
Download

add distance calculation and add multiply feature to velocity manipulation

Andrew's Datapack Utils 1.2.3

by AndrewGaming587 on Jul 17, 2025
Download

Added distance calculation

No neoforge release yet

Andrew's Datapack Utils 1.2.2-hotfix-1

by AndrewGaming587 on May 20, 2025
Download

Fabric-only hotfix to fix the mod not working on older game versions

Andrew's Datapack Utils 1.2.2

by AndrewGaming587 on May 11, 2025
Download

Add an /aputils loader command to detect if it is the fabric or neoforge version of this mod

Add an /aputils check_damage command to check if an entity took damage, and optionally filter for a specific type.

Andrew's Datapack Utils 1.2.2 Neo

by AndrewGaming587 on May 11, 2025
Download

Add an /aputils loader command to detect if it is the fabric or neoforge version of this mod

Add an /aputils check_damage command to check if an entity took damage, and optionally filter for a specific type.

/aputils check_damage is broken on neoforge.

Andrew's Datapack Utils 1.2.1

by AndrewGaming587 on May 9, 2025
Download

Neoforge port! Only 1.21.5 because I don't know how to set a range of versions yet. Would work on other versions if you changed the depended version.

Andrew's Datapack Utils 1.2.1

by AndrewGaming587 on May 9, 2025
Download

Add some packet stuff to improve /aputils velocity

Andrew's Datapack Utils 1.2.0

by AndrewGaming587 on Apr 24, 2025
Download

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.

Andrew's Datapack Utils 1.1.0

by AndrewGaming587 on Apr 22, 2025
Download

Added /aputils velocity (x, y, z,) (add|set) to allow manipulation of the velocity of mobs.

Andrew's Datapack Utils 1.0.0

by AndrewGaming587 on Apr 19, 2025
Download

Initial Release

Modrinth is open source.

app-ads@1633f40

© 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.