mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-29 02:25:27 +02:00
Added health display for mobs during combat.
During combat, players will now see a healthbar appear over the head of hostile mobs when they are damaged. This healthbar will have two display options - HEARTS and BAR - which can be changed via the /mobhealth command. New Permissions: mcmmo.mobhealthdisplay - Allows viewing of mob health display mcmmo.commands.mobhealth - Allows access to the /mobhealth command New Config Options (config.yml): Mob_Healthbar.Display_Type - the default health display type Mob_Healthbar.Display_Time - the amount of time to show health display
This commit is contained in:
@@ -20,6 +20,7 @@ public final class Permissions {
|
||||
*/
|
||||
|
||||
public static boolean motd(Permissible permissible) { return permissible.hasPermission("mcmmo.motd"); }
|
||||
public static boolean mobHealthDisplay(Permissible permissible) { return permissible.hasPermission("mcmmo.mobhealthdisplay"); }
|
||||
public static boolean updateNotifications(Permissible permissible) {return permissible.hasPermission("mcmmo.tools.updatecheck"); }
|
||||
public static boolean chimaeraWing(Permissible permissible) { return permissible.hasPermission("mcmmo.item.chimaerawing"); }
|
||||
|
||||
|
Reference in New Issue
Block a user