Skip to content

Mode Dieu & Infini (26.1.2)

Paramètre systèmeValeur
Règle globale d'infiniig:dm_infinity_global
État par défautfalse (Désactivé)
Interception des dégâtsDégâts entrants annulés à HEAD ($0$ dégât appliqué)
Style d'infobulle✦ UNBREAKABLE (Or, Gras)
PrioritéAbsolue (Évaluée avant tout multiplicateur)

⚡ Aperçu et mécaniques

Le Mode Dieu (Infini) confère une invincibilité totale aux objets des catégories sélectionnées. Lorsque le Mode Dieu est actif pour un objet, toute perte de durabilité est totalement interceptée et annulée dans ItemStackDurabilityMixin.

Distinction par rapport au composant incassable vanilla

  • Le composant Unbreakable de Vanilla doit être appliqué aux objets via commande (/give @p diamond_sword[unbreakable={}]).
  • Le Mode Dieu s'applique à tout le monde et par catégorie : chaque outil, arme ou armure du monde devient automatiquement incassable sans éditer de NBT.

🛡️ Les 24 règles du Mode Dieu

#Clé de GameRuleNom de catégorieObjets ciblesDéfaut
1ig:dm_infinity_globalGlobal God ModeAll damageable items in the gamefalse
2ig:dm_infinity_weaponsWeapons God ModeAll weapons (swords, spears, tridents, maces, bows, crossbows)false
3ig:dm_infinity_swordsSwords God Mode#minecraft:swords, #c:swordsfalse
4ig:dm_infinity_spearsSpears God Mode#minecraft:spears, #c:spearsfalse
5ig:dm_infinity_tridentsTridents God ModeItems.TRIDENT, TridentItem, #c:tridentsfalse
6ig:dm_infinity_macesMaces God ModeItems.MACE, MaceItem, #c:macesfalse
7ig:dm_infinity_bowsBows God ModeItems.BOW, BowItem, #c:bowsfalse
8ig:dm_infinity_crossbowsCrossbows God ModeItems.CROSSBOW, CrossbowItem, #c:crossbowsfalse
9ig:dm_infinity_shieldsShields God ModeItems.SHIELD, ShieldItem, #c:shieldsfalse
10ig:dm_infinity_toolsTools God ModeParent category for all Toolsfalse
11ig:dm_infinity_pickaxesPickaxes God ModePickaxeItem, #c:pickaxesfalse
12ig:dm_infinity_axesAxes God ModeAxeItem, #c:axesfalse
13ig:dm_infinity_shovelsShovels God ModeShovelItem, #c:shovelsfalse
14ig:dm_infinity_hoesHoes God ModeHoeItem, #c:hoesfalse
15ig:dm_infinity_shearsShears God ModeShearsItem, #c:shearsfalse
16ig:dm_infinity_fishing_rodsFishing Rods God ModeFishingRodItemfalse
17ig:dm_infinity_brushesBrushes God ModeBrushItemfalse
18ig:dm_infinity_flint_and_steelFlint and Steel God ModeFlintAndSteelItemfalse
19ig:dm_infinity_armorArmor God ModeParent category for all Armor piecesfalse
20ig:dm_infinity_helmetsHelmets God Mode#minecraft:head_armor, #c:helmetsfalse
21ig:dm_infinity_chestplatesChestplates God Mode#minecraft:chest_armor, #c:chestplatesfalse
22ig:dm_infinity_leggingsLeggings God Mode#minecraft:leg_armor, #c:leggingsfalse
23ig:dm_infinity_bootsBoots God Mode#minecraft:foot_armor, #c:bootsfalse
24ig:dm_infinity_elytraElytra God ModeItems.ELYTRA, DataComponents.GLIDERfalse

👑 Ordre de résolution du Mode Dieu

DurabilityHelper.isInfinite(ServerLevel, ItemStack) vérifie :

[1. Per-Item Dynamic Infinity == true?] ──► YES ──► Unbreakable (Damage = 0)
                 │ NO

[2. Specific Category Infinity == true?] ──► YES ──► Unbreakable (Damage = 0)
                 │ NO

[3. Weapons/Tools/Armor Infinity == true?] ──► YES ──► Unbreakable (Damage = 0)
                 │ NO

[4. Global Infinity == true?] ──► YES ──► Unbreakable (Damage = 0)
                 │ NO

[Proceed to Single-Use / Multiplier Calculation]

Le Mode Dieu a une priorité absolue sur tout multiplicateur ou réglage à usage unique. Si ig:dm_infinity_tools = true, les outils ne subiront jamais de dégâts.

Official documentation & web portal for Dasik Igaijinn mods.