
Nearby Zombie Pigmen will get angry if a player harvests certain blocks.
These blocks also have a chance to explode when harvested.
The Fortune enchant makes the situation worse, the Silk Touch enchant makes the situation better.
Blocks affected are configurable in a JSON file.
Agro range, and all explosion parameters are confurable/disableable.
Example blocks.json
[
{
"BlockName" : "glowstone"
},
{
"BlockName" : "someMod:someBlock",
"MetaData" : "2"
}
]
Config Options:
explodingore {
# [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
# [default: true]
B:explosionsBreak=true
# [default: true]
B:explosionsBurn=true
# [range: 0 ~ 2147483647, default: 40]
I:ticksUntilExplode=40
}
pigmanagrohandler {
# Changing too high will have an effect on performance [range: 1 ~ 256, default: 48]
I:agroRange=48
}
This mod was ported to 1.8.9 from one of my 1.7.10 mods Feed the Creeper Tweaks
The original idea was based upon a feature from the mod Nether Ores by SkyBoy and TeamCoFH, and was designed to complement it.
Feel free to use in Modpacks; notification is appreciated, but not required.