Modo Dios e infinidad (26.2)
| Parámetro del sistema | Valor |
|---|---|
| Regla global de infinito | ig:dm_infinity_global |
| Estado predeterminado | false (Desactivado) |
| Intercepción de daño | Daño entrante cancelado en HEAD ($0$ daño aplicado) |
| Estilo de descripción emergente | ✦ UNBREAKABLE (Dorado, Negrita) |
| Prioridad | Absoluta (Evaluada antes de cualquier multiplicador) |
⚡ Descripción general y mecánicas
Modo Dios (Infinito) otorga invencibilidad completa a los objetos de las categorías seleccionadas. Cuando el Modo Dios está activo para un objeto, cualquier evento de pérdida de durabilidad se intercepta y cancela por completo en ItemStackDurabilityMixin, evitando que el objeto reciba daño o se rompa.
Distinción con respecto al componente irrompible vanilla
- El componente
Unbreakablede vanilla debe aplicarse a objetos individuales mediante comandos (/give @p diamond_sword[unbreakable={}]). - El Modo Dios de Durability Multiplier es a nivel de todo el mundo y categoría: cada herramienta, arma o pieza de armadura en el mundo se comporta automáticamente como irrompible sin editar NBT ni componentes.
🛡️ Las 24 reglas del Modo Dios
| # | Clave de GameRule | Nombre de categoría | Objetos objetivo | Predeterminado |
|---|---|---|---|---|
| 1 | ig:dm_infinity_global | Global God Mode | All damageable items in the game | false |
| 2 | ig:dm_infinity_weapons | Weapons God Mode | All weapons (swords, spears, tridents, maces, bows, crossbows) | false |
| 3 | ig:dm_infinity_swords | Swords God Mode | #minecraft:swords, #c:swords | false |
| 4 | ig:dm_infinity_spears | Spears God Mode | #minecraft:spears, #c:spears | false |
| 5 | ig:dm_infinity_tridents | Tridents God Mode | Items.TRIDENT, TridentItem, #c:tridents | false |
| 6 | ig:dm_infinity_maces | Maces God Mode | Items.MACE, MaceItem, #c:maces | false |
| 7 | ig:dm_infinity_bows | Bows God Mode | Items.BOW, BowItem, #c:bows | false |
| 8 | ig:dm_infinity_crossbows | Crossbows God Mode | Items.CROSSBOW, CrossbowItem, #c:crossbows | false |
| 9 | ig:dm_infinity_shields | Shields God Mode | Items.SHIELD, ShieldItem, #c:shields | false |
| 10 | ig:dm_infinity_tools | Tools God Mode | Parent category for all Tools | false |
| 11 | ig:dm_infinity_pickaxes | Pickaxes God Mode | PickaxeItem, #c:pickaxes | false |
| 12 | ig:dm_infinity_axes | Axes God Mode | AxeItem, #c:axes | false |
| 13 | ig:dm_infinity_shovels | Shovels God Mode | ShovelItem, #c:shovels | false |
| 14 | ig:dm_infinity_hoes | Hoes God Mode | HoeItem, #c:hoes | false |
| 15 | ig:dm_infinity_shears | Shears God Mode | ShearsItem, #c:shears | false |
| 16 | ig:dm_infinity_fishing_rods | Fishing Rods God Mode | FishingRodItem | false |
| 17 | ig:dm_infinity_brushes | Brushes God Mode | BrushItem | false |
| 18 | ig:dm_infinity_flint_and_steel | Flint and Steel God Mode | FlintAndSteelItem | false |
| 19 | ig:dm_infinity_armor | Armor God Mode | Parent category for all Armor pieces | false |
| 20 | ig:dm_infinity_helmets | Helmets God Mode | #minecraft:head_armor, #c:helmets | false |
| 21 | ig:dm_infinity_chestplates | Chestplates God Mode | #minecraft:chest_armor, #c:chestplates | false |
| 22 | ig:dm_infinity_leggings | Leggings God Mode | #minecraft:leg_armor, #c:leggings | false |
| 23 | ig:dm_infinity_boots | Boots God Mode | #minecraft:foot_armor, #c:boots | false |
| 24 | ig:dm_infinity_elytra | Elytra God Mode | Items.ELYTRA, DataComponents.GLIDER | false |
👑 Orden de resolución del Modo Dios
DurabilityHelper.isInfinite(ServerLevel, ItemStack) comprueba:
[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]El Modo Dios tiene prioridad absoluta sobre cualquier ajuste de multiplicador o un solo uso. Si ig:dm_infinity_tools = true, las herramientas nunca recibirán daño sin importar el porcentaje asignado.
