Download Pigmen Agro — Minecraft Mods — MetaMods

Pigmen Agro

Active

Downloads

0

Last update

9 years ago
Client

Pigmen Agro

Nearby zombie pigmen become enraged when players harvest specific blocks. There's also a chance that harvesting these blocks will trigger explosions with potentially unpredictable consequences.

The situation becomes significantly more dangerous when using the Fortune enchantment — this increases the likelihood of explosions. Conversely, the Silk Touch enchantment has the opposite effect and substantially reduces the risk of unpleasant surprises.

The modification offers extensive customization options. In a JSON file, you can specify exactly which blocks will provoke pigmen aggression and potential explosions.

Example blocks.json file contents:

[
 {
  "BlockName" : "glowstone"
 },
 {
  "BlockName" : "someMod:someBlock",
  "MetaData" : "2"
 }
]

Available configuration parameters:

explodingore {
 # Explosion probability [range: 0.0 ~ 1.0, default: 0.25]
 S:explodeChance=0.25

 # Too high a value can cause server crashes [range: 0.0 ~ 3.4028235E38, default: 0.6]
 S:explosionStrengthBase=0.6

 # Too high a value can cause server crashes [range: 0.0 ~ 3.4028235E38, default: 0.5]
 S:explosionStrengthMultiplier=0.5

 # Explosions break blocks [default: true]
 B:explosionsBreak=true

 # Explosions cause fire [default: true]
 B:explosionsBurn=true

 # Time until explosion in ticks [range: 0 ~ 2147483647, default: 40]
 I:ticksUntilExplode=40
}

pigmanagrohandler {
 # Setting too high may affect performance [range: 1 ~ 256, default: 48]
 I:agroRange=48
}

You can customize the distance at which pigmen react to player actions, as well as all explosion parameters — including strength, probability, delay, and other characteristics — or completely disable these features.

The original concept was inspired by a feature from the Nether Ores mod by SkyBoy and TeamCoFH and was created as a supplement to it. This version has been ported to Minecraft 1.8.9 from the original 1.7.10 version.

Project members
thor12022

thor12022

Created: 14 May 2016

ID: 96370