-
Notifications
You must be signed in to change notification settings - Fork 0
26.1.2 HUD and Diagnostics
Rifa edited this page Aug 22, 2026
·
1 revision
π Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
| Visual Infobox | Technical Parameters |
|---|---|
| Actionbar API | client.gui.setOverlayMessage(Component, boolean) |
| Particle Type | net.minecraft.core.particles.ParticleTypes.ELECTRIC_SPARK |
| Particle Throttle Modulo | (entity.tickCount + entity.getId()) % 4 == 0 |
| Particle Source Cap |
ig:magnet_max_particle_sources (Default: 5) |
When the player toggles their item magnet using the Ctrl+M hotkey combination, the client GUI immediately displays an actionbar notification:
-
Enabled:
Β§aItem Magnet: Enabled(chat.ig_magnet.enabled) -
Disabled:
Β§cItem Magnet: Disabled(chat.ig_magnet.disabled)
// Verified against: Gui.java (26.1.2)
if (newState) {
client.gui.setOverlayMessage(Component.translatable("chat.ig_magnet.enabled"), true);
} else {
client.gui.setOverlayMessage(Component.translatable("chat.ig_magnet.disabled"), true);
}Items and experience orbs being pulled emit spark particle trails:
[Pulled Item / XP] ---> β¨ ---> β¨ ---> β¨ ---> [Player Eye Position]
-
Source Gating: At most 5 simultaneous sources emit particles (
ig:magnet_max_particle_sources = 5). -
Tick Gating: Particles spawn every 4 ticks (
$5\text{ times/second}$ ). -
Density Control:
ig:magnet_particle_count = 1.
Magnet, Let me get that! β’ Developed by Dasik (Rifaditya) β’ Licensed under GNU GPLv3
Documentation reflects active repository source code. Features may precede public releases on CurseForge/Modrinth.
- π 26.2 Overview
- Gameplay Mechanics
- Administration & Config
- Technical & Development
- π 26.1.2 Overview
- Gameplay Mechanics
- Administration & Config
- Technical & Development