[{"data":1,"prerenderedAt":6},["ShallowReactive",2],{"docs:wiki\u002FMobs\u002FImmunityTables":3},{"html":4,"title":-1,"frontmatter":5},"\u003Cp>Immunity Tables allow a mob to track each player’s damage and assigns NoDamageTicks individually, so that the mob can only take damage every half second PER PLAYER instead of TOTAL. Essentially, they allow for multiple players to hit a mob and still have all their damage register.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Enabling Immunity Tables\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Turning on Immunity Tables for a mob is easy. Just add Modules.ImmunityTable: true to your mob, like so:\u003C\u002Fp>\n\u003Cpre class=\"language-yaml\">\u003Ccode class=\"language-yaml\">\u003Cspan class=\"yaml-key\">BigHealthBoss\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">:\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Type\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-plain\">pig_zombie\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Display\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-string\">&#39;&amp;6Hungry Hungry Piggy Zombie&#39;\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Health\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">20000\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Modules\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">:\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">    ImmunityTable\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-bool\">true\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Options\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">:\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">    NoDamageTicks\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">10\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>That’s it!\u003C\u002Fp>\n\u003Cp>Immunity Tables will take the NoDamageTicks option into account if you decide to change it, however it is not necessary and will use Minecraft’s default of 10 if one isn’t specified.\u003C\u002Fp>\n",{},1779063023751]