Home›Java›Datapacks›Everything Clings
Everything Clings
DatapacksJava

Everything Clings

Java data pack listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by Sansrus · on Modrinth

⬇ Download on Modrinth

Everything Clings

Every entity within 40 blocks of a player slides toward the nearest one: mobs, dropped items, arrows, minecarts, TNT, everything except other players.

How it works

Configuration

The speed is set in data/everything_clings/function/pull.mcfunction, in two lines:

execute store result entity @s Motion[0] double 0.00035 run scoreboard players get #x everything_clings.calc
execute store result entity @s Motion[2] double 0.00035 run scoreboard players get #z everything_clings.calc

The multiplier is the speed in blocks per tick divided by 1000: 0.00035 = 0.35, 0.00015 = 0.15. Change both lines.

The radius and the dead zone are set in data/everything_clings/function/tick.mcfunction: distance=..40 and distance=..2.

Run /reload after editing.

Limitations

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more