Custom Mob Drop Risk Gauge

Sep 24, 2015
Custom Mob Drop Risk Gauge

  • What is Risk Gauge(top)

    Risk Gauge is a system of determining if a monster being attacked by a player has a reasonable chance to fight back to the player.

    This system is based on the concept "with risk comes reward." Empire Minecraft's special drops and features are intended to be earned in fair combat with monsters.

    While you are allowed to get creative and kill monsters with little to no risk, doing so will reduce your chance at receiving rewards since you did not have the risk of dying.

    Determining Risk(top)

    For sword/fist based attacks (ie: non-skeleton attacks), the risk is determined by whether or not the monster can find a path to be within melee distance of the attacker. This means that standing on a two-block tall pillar, preventing the monster from attacking you, and attacking the monster back will qualify as "no risk," and trigger the risk gauge.

    Likewise, trapping a monster in a kill chamber, where it cannot get out, as typically done in mob farms, will trigger this system.

    For ranged attackers, such as skeletons, ghasts, and withers, the risk is determined if the monster has a clear line of sight toward the player.

    Penalty for no risk(top)

    For Melee attackers:
    • Mini-bosses OR player difficulty greater than 6: The monster will teleport to the player, escaping the barriers that were preventing it from reaching the player on lower difficulties.
    • Normal Monsters on difficulty 6 or below: Entity's effective difficulty will be reduced each hit, acting as if the player is on a lower difficulty. This can nerf it to zero, resulting in absolutely no special loot.
    For ranged attackers, the attack damage will be resisted, since this can potentially trigger in normal combat. Therefore, players have less risk of losing items while engaged in combat with ranged attackers.

    Effects on Vanilla Loot(top)

    This system does not affect Vanilla loot items in any way. This only applies to special rewards added by Empire Minecraft, such as Custom Items and Tokens.

    Source Code(top)

    For those that can read code, we have posted the source code for this system to be reviewed here:

    There's a lot that makes up the Empire. Learn a bit about us, how it all works and how to thrive in it.

Looking for a more general Minecraft guide? Visit Minecraftopia!