Damage Incorporated (Damage Incorporated)
Makes the mobGriefing game rule modular by adding many game rules with equivalent functionality.
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 and allays being able to pick up items? 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
and mobExplosionDropDecay
toggles. This means that from aspects like the way explosions from creepers (and friends) work, 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 some explosion-related game rules, farmland trampling, and more, this mod provides more options than a simple toggle!
Part of the Boring series. Don't forget to check out Boring Backgrounds and Boring Default Game Rules!
Dependencies
This mod requires Minecraft 1.19.3+ and the Quilt Standard Libraries.
Configuration
Currently, this mod has 40 game rules, each of them affecting different parts of mobGriefing
and mobExplosionDropDecay
. You can see what they are below:
Category: Explosions
creeperExplosions: This game rule controls non-charged creepers' explosions. The accepted options are:
- DESTROY: The explosion will destroy the terrain. (equivalent to
mobGriefing
: on) - 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.
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.
Category: Hostile Mobs
Category: Undead Mobs
Category: Passive Mobs
Keep in mind that if mobGriefing
is disabled, then all of this mod's game rules are overridden by it. The explosion drop decay game rules are also overridden by the mobExplosionDropDecay
.
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 is allowed as long as attribution is given.
This mod's icon makes usage of Twemoji assets, which are licensed under CC BY 4.0.
Damage Incorporated 3.1.0 for Minecraft 1.20
- Updated to Minecraft 1.20
- Added the `canRavagersBreakPitcherCrops` game rule
Damage Incorporated 3.0.0 for Minecraft 1.19.3
- Updated to Minecraft 1.19.3
- Redone 99% of all mixins with MixinExtras' `@WrapOperation`, cleaning up the codebase significantly and improving compatibility
- Split all game rules that modify explosions into pairs involving one that modifies the explosion itself and another that modifies it's drop decay, matching Vanilla's new drop decay rules
- Changed the charged creeper explosion game rules in order to be subordinate to the creeper explosion ones by default (`INHERIT_FROM_PARENT`), with it's other values overriding that
- Added the `canAllaysPickUpItems` game rule
- Renamed all fire spread game rules from the `can<X>SpreadFire` standard to `<X>FireSpread` for consistency reasons
- Renamed `canPiglinsGather` to `canPiglinsPickUpItems`
- Added compatibility code in order to convert Damage Incorporated's 1.19.2 game rules into 1.19.3 ones
- Updated and fixed the Brazilian Portuguese translation
Damage Incorporated 2.0.0 for Minecraft 1.19
- Migrated to the Quilt toolchain
- Standardized the mixin code
- Changed the mod ID to `damage_incorporated`
- Switched the JAR optimizer from the Detonater to Machete
收录