CustomMagnets

CustomMagnets

A datapack/packaged mod that adds magnets that can be found in the end city loot chests.

by
288 Downloads
datapackfabricforgeneoforgequiltadventuretechnologyutility
Rent Server with this Mod

Screenshots

All 3 Magnets
Common Magnet
Epic Magnet
Legendary Magnet
Tutorial Step 1
Tutorial Step 2

About this Mod

Will not be updating this project unless I change my mind.

CustomMagnets

By: FerranV

Important Notice!!: When downloading the datapack also download the embedded resourcepack!

  • Step 1: Go to versions and click on the desired version.
  • Step 2: Scroll down to files and download BOTH the datapack and resourcepack. (Installation guide below if needed)

install-1

Description:

This is a datapack (+resourcepack) that adds custom magnet items to the end city loot pools.

  • Obtaining the magnets:

    • You find the magnets in the chests that can be found in the end cities.
    • If you are an OP you can also obtain the magnets by typing /function custommagnets:get_magnet in chat.
  • Usage:

    • Hold the magnet (either mainhand or offhand) to suck up items in a specific radius depending on it's rarity. Common: 3x3, Epic: 5x5, Legendary: 10x10
    • Shift+right_click whilst holding the magnet to toggle the magnet from sucking up items.
    • The magnets ARE compatible with the mending and unbreaking enchantments. (The magnets do also all have durability. Common: 3000, Epic: 7000, Legendary: 10000)

Bug report:

  • Experiencing any issues or have ideas for enhancements? Please let me know at the Report issues page.
    Report-Issues

Changelog:

  • 1.21.7_v1.0.0: Added support for the 1.21.7 version of Minecraft.
  • 1.21.6_v1.0.0: Added support for the 1.21.6 version of Minecraft.
  • v1.0.0+mod: now packaged as a mod for easier installation on modded instances.
  • v1.0.0: Initial Push

Installation guide:

Modded instance:

  • If you're playing on a modded instance you can download the +mod version and drop it in your mods folder and you're done :D. Note: this will enable the datapack on every world that you play on. Just like any other mods would. So if you want it to only affect specific worlds you should follow the steps below.

Datapack:

  • Adding to a new world:

    • Step 1:
      Press Create New World and then More
      Step 1

    • Step 2:
      Press Data Packs
      Step 2

    • Step 3:
      Press Open Pack Folder and drop your download .zip file in the opened folder. (Make sure you select the datapack and not the resourcepack or else it will not work).
      Step 3

    • Step 4:
      Click the arrow next to the now appeared file and you should see it go from Available to Selected.

      • Before: Step 4

      • After: Step 4.1

    • Step 5:
      Press Done and after changing your world options to your liking press Create New World and you should be all set up!

  • Adding to an already existing world:

    • Step 1: Locate your saves folder.
    • Step 2: Open folder of the world you want the datapack to be in.
    • Step 3: Locate the datapacks folder within that world folder.
    • Step 4: Drop the .zip file into the datapacks folder. (Make sure you drop the datapack file and not the resourcepack or else it will not work)

Resourcepack:

  • Step 1:
    Locate your Minecraft folder.
  • Step 2:
    Locate the resourcepacks folder
  • Step 3:
    Drop the .zip file into the resourcepacks folder (make sure this is the resourcepack file and not the datapack or else it will not work).

Available Versions

[1.21.7-8]_CustomMagnets_v1.0.0release
MC 1.21.7, 1.21.8fabric, forge, neoforge, quilt
July 12, 2025
[1.21.6]_CustomMagnets_v1.0.0release
MC 1.21.6fabric, forge, neoforge, quilt
July 12, 2025
[1.21.5]_CustomMagnets_v1.0.0release
MC 1.21.5fabric, forge, neoforge, quilt
July 12, 2025
[1.21.7]_CustomMagnets_v1.0.0release
MC 1.21.7, 1.21.8datapack
July 12, 2025
[1.21.6]_CustomMagnets_v1.0.0release
MC 1.21.6datapack
July 12, 2025

How to Install CustomMagnets on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set datapack Loader

In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.8).

3

Install Mod

Open the mod browser in the dashboard and search for "CustomMagnets". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

datapackfabricforgeneoforgequilt

Minecraft Versions

1.21.8, 1.21.7, 1.21.6 (+1 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

CustomMagnets server crashes on startup – what to do?

Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.

Is CustomMagnets compatible with datapack and fabric and forge and neoforge and quilt?

CustomMagnets officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.8, 1.21.7, 1.21.6. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with CustomMagnets – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if CustomMagnets consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install CustomMagnets with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.21.81.21.71.21.61.21.5