Skip to content

⚙️ GameRules Complete Reference (MC 26.2)

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

Category InfoboxDetails
Category IDmagnet:magnet_category
Localized TitleMagnet, Let me get that! (gamerule.category.magnet.magnet_category)
Registered Managernet.dasik.social.api.gamerule.DynamicGameRuleManager
Registry Classnet.instantgratification.magnet.registry.ModGameRules
Total Rules Registered15 Namespaced Rules

📖 In-Game GameRules Administration

All global mechanics of Magnet, Let me get that! are governed by namespaced Minecraft GameRules registered under the magnet:magnet_category header.

Admins can configure these rules live in-game using the /gamerule <rule> <value> command or through the vanilla "Edit Game Rules" screen when creating or editing a world.

/gamerule ig:magnet_enabled true
/gamerule ig:magnet_range 24
/gamerule ig:magnet_speed 120
/gamerule ig:magnet_instant true

📋 Complete GameRules Reference Table

GameRule IdentifierTypeDefaultBoundsLocalized Display NameDescription & Gameplay Effect
ig:magnet_enabledBooleantruetrue/falseMagnet EnabledMaster toggle that globally activates or disables the item vacuum system.
ig:magnet_rangeInteger121..64Magnet RangeThe spherical block radius from which the player attracts dropped items.
ig:magnet_noclipBooleantruetrue/falseMagnet NoclipEnables phase shifting, allowing attracted items to pass freely through solid blocks.
ig:magnet_affects_xpBooleantruetrue/falseAttract XP OrbsWhether experience orbs are attracted alongside dropped items.
ig:magnet_particlesBooleantruetrue/falseMagnet ParticlesSpawns electric spark particles along the trajectory of pulled entities.
ig:magnet_particle_countInteger10..100Particle CountThe number of particle sparks emitted per active source per particle tick.
ig:magnet_max_particle_sourcesInteger50..100Max Particle SourcesMaximum number of simultaneous entities allowed to emit particles to prevent FPS lag.
ig:magnet_speedInteger801..1000Item SpeedTerminal velocity percentage ($80 = 0.8\text{ blocks/tick} = 16.0\text{ m/s}$).
ig:magnet_accelerationInteger101..1000Item AccelerationAcceleration interpolation factor per tick ($10 = 10%\text{ lerp/tick}$).
ig:magnet_instantBooleanfalsetrue/falseInstant PickupWhen true, items instantly teleport into inventory via AABB box expansion with 0 flight time.
ig:magnet_los_onlyBooleantruetrue/falseLine of Sight OnlyEnforces line-of-sight visibility; prevents pulling items behind impenetrable barriers.
ig:magnet_keep_moving_if_unseenBooleantruetrue/falseKeep Moving if UnseenAllows items magnetized in LOS to retain pull momentum if sight is broken mid-flight.
ig:magnet_blocked_by_transparentBooleanfalsetrue/falseBlocked by TransparentIf true, glass, glass panes, iron bars, and translucent blocks block line of sight.
ig:magnet_blocked_by_floraBooleanfalsetrue/falseBlocked by FloraIf true, tall grass, crops, flowers, and leaves block line of sight.
ig:magnet_blocked_by_block_entitiesBooleanfalsetrue/falseBlocked by Block EntitiesIf true, chests, beds, barrels, and shulker boxes block line of sight.

⚖️ GameRules Precedence over Global JSON Config

⚠️ Important Notice for Server Admins:
Settings in the client/server JSON configuration file (config/ig_magnet.json) only establish the baseline default values for newly created worlds. Active worlds are controlled strictly by GameRules. Modifying ig_magnet.json will not alter settings in an existing save until updated via /gamerule.


Official documentation & web portal for Dasik Igaijinn mods.