project - icon

Damage Incorporated

Server mod

Makes the mobGriefing game rule modular by adding many game rules with equivalent functionality.

utility

173 downloads 12 followers
Created 9 months ago
Updated 6 months ago

External resources


Featured versions


Project members

profile-picture

Owner


Technical information

License
Client side
optional
Server side
required
Project ID
9Ey6omWt

Damage Incorporated

Have you ever wished that you could disable certain features that can be disabled with mobGriefing without disabling other features like farmers being able to farm? Because this mod is for you!

Damage Incorporated is a mod that adds many game rules that allows for configuring features that are behind the mobGriefing toggle. This means that from aspects like the destruction type of creepers (and more), the ability of endermen placing or picking blocks, to even ones like the ability of evokers to wololo are all configurable individually with this mod!

And for specific rules such as all explosion-related game rules, farmland trampling, and more, this mod provides more options than a simple toggle!

Dependencies

This mod requires Minecraft 1.17+ and the Fabric API.

Configuration

Currently, this mod has 34 game rules, each of them affecting different parts of mobGriefing. You can see what they are below:

Category: Explosions creeperDestructionType: This game rule controls regular creepers' destruction type. The accepted options are:
  • LOSSY_EXPLOSION: Destroys the terrain while also destroying some of its drops.Damages entities. (equivalent to mobGriefing: on)
  • LOSSLESS_EXPLOSION: Destroys the terrain while keeping all of its drops intact. Damages entities.
  • DAMAGE_ONLY: Disables the terrain destruction part of the explosion, but leaves the damage to nearby entities intact. Recommended if you want creepers to still remain a menace despite not destroying blocks. (equivalent to mobGriefing: off)
  • NONE: Completely disables the explosion, including entity damage. This is similar to data packs that disables explosions.

chargedCreeperDestructionType: This game rule controls charged creepers' destruction type. Accepted options: LOSSY_EXPLOSION/LOSSLESS_EXPLOSION/DAMAGE_ONLY/NONE

canGhastFireballsSpreadFire: Allows for toggling if ghast fireballs can spread fire or not. Accepted options: true/false

ghastFireballDestructionType: This game rule controls the destruction type of ghast fireballs. Accepted options: LOSSY_EXPLOSION/LOSSLESS_EXPLOSION/DAMAGE_ONLY/NONE

witherSpawnDestructionType: This game rule controls the destruction type of the explosion caused by the Wither when spawned. Accepted options: LOSSY_EXPLOSION/LOSSLESS_EXPLOSION/DAMAGE_ONLY/NONE

witherSkullDestructionType: This game rule controls the destruction type of wither skull explosions. Accepted options: LOSSY_EXPLOSION/LOSSLESS_EXPLOSION/DAMAGE_ONLY/NONE

Category: General farmlandTrampling: This game rule controls farmland trampling. The accepted options are:
  • ALL: Allows players and mobs to trample farmland. (equivalent to mobGriefing: on)
  • PLAYER_ONLY: Disable farmland trampling for mobs but allows players to do it. (equivalent to mobGriefing: off)
  • MOB_ONLY: Disables farmland trampling for players but allows mobs to do it.
  • OFF: Completely disables farmland trampling.

canWitherRoseBePlanted: This game rule determines if victims of the Wither will plant or drop wither rose. Accepted options: true/false

turtleEggTrampling: This game rule controls the trampling of turtle eggs by any entities standing on it. Keep in mind that trampling is different than the undead's turtle egg stomping and disabling this game rule won't stop them from doing it. Accepted options: ALL/PLAYER_ONLY/MOB_ONLY/OFF

canMobsPickUpLoot: This game rule determines whenever mobs can pick up loot or not. Accepted options: true/false

canBurningMobsBreakPowderSnow: This game rule controls the ability of burning mobs to break powder snow by touching them. Accepted options: ALL/PLAYER_ONLY/MOB_ONLY/OFF

canBurningProjectilesModifyBlocks: This game rule controls the ability of burning projectiles of modifying block (ex. a TNT being ignited by a burning arrow). Keep in mind that this only affects projectiles shot by an entity, if it has no owner (like projectiles shot from a dispenser), it won't be affected by this option. Accepted options: ALL/PLAYER_ONLY/MOB_ONLY/OFF

Category: Hostile Mobs canEndermenPlaceBlocks: This game rule determines whenever endermen can place blocks or not. Accepted options: true/false

canEndermenPickBlocks: This game rule determines whenever endermen can pick blocks or not. Accepted options: true/false

canSilverfishInfestBlocks: This game rule controls the ability of silverfish to infest blocks. Accepted options: true/false

permanentInfestedBlockDamage: This game rule determines whenever a call for help from a silverfish can break nearby infested blocks in order to summon more silverfish. If disabled, then the infested blocks will instead be converted into their normal variants. Accepted options: true/false

canWitherBreakBlocks: This game rule controls the ability of the wither itself to break blocks. This does not affect the wither-related explosion. Accepted options: true/false

canRavagersBreakLeaves: This game rule controls the ability of ravagers to break leaves. Accepted options: true/false

canRavagersBreakCrops: This game rule controls the ability of ravagers to break crops. Accepted options: true/false

canEnderDragonDestroyBlocks: This game rule determines whenever the ender dragon can destroy blocks or not. Accepted options: true/false

canBlazeFireballsSpreadFire: This game rule determines whenever blaze fireballs can spread fire or not. Accepted options: true/false

canPiglinsGather: This game rule determines whenever piglins can gather or not. Accepted options: true/false

canEvokersWololo: This game rule controls the ability of evokers to cast the "Wololo" spell. Accepted options: true/false

Category: Undead Mobs canMobsPickUpLoot: This game rule controls the ability of mobs to destroy doors. Accepted options: true/false

canTurtleEggsBeStompedByZombies: This game rule controls the ability of zombies to stomp turtle eggs. This is different than turtle egg trampling. Accepted options: true/false

canTurtleEggsBeStompedByZombifiedPiglins: This game rule controls the ability of zombified piglins to stomp turtle eggs. This is different than turtle egg trampling. Accepted options: true/false

canTurtleEggsBeStompedByZombieVillagers: This game rule controls the ability of zombie villagers to stomp turtle eggs. This is different than turtle egg trampling. Accepted options: true/false

canTurtleEggsBeStompedByHusks: This game rule controls the ability of husks to stomp turtle eggs. This is different than turtle egg trampling. Accepted options: true/false

canTurtleEggsBeStompedByDrowneds: This game rule controls the ability of drowneds to stomp turtle eggs. This is different than turtle egg trampling. Accepted options: true/false

Category: Passive Mobs canSheepBreakGrass: This game rule controls the ability of sheep to break grass by eating them. This does not affect grass eating. Accepted options: true/false

canSheepTurnGrassBlocksIntoDirt: This game rule controls the ability of sheep to transform grass blocks into dirt by eating them. This does not affect grass block eating. Accepted options: true/false

canRabbitsEatCarrotCrops: This game rule controls the ability of rabbits of eating carrots crops. Accepted options: true/false

canFoxesPickBerries: This game rule determines whenever foxes can pick berries directly from plants (sweet berry bushes and glow vines) or not. Accepted options: true/false

canFarmerVillagersFarm: This game rule determines whenever farmer villagers can farm or not. Accepted options: true/false

snowGolemTrail: This game rule controls the snow golem's trail. Accepted options: true/false

Keep in mind that if mobGriefing is disabled, then all of this mod's game rules are overriden by it.

The ability to change the default values of these game rules is out-of-scope for this mod, however, Boring Default Game Rules lets you do exactly that.

License

This mod is licensed under the MIT license. You can freely include the mod on any modpack with no permission. Usage of this mod's code on other projects or derivatives of this mod is allowed as long as attribution is given.