Block protection compat overhaul
- Unifies all block protection checks into helper methods in BlockUtils which trigger all the necessary forge events and vanilla methods - Implements these checks in all the appropriate places and removes calls to EntityUtils#canDamageBlocks(...) where they are no longer needed - Changes the mine spell to respect the config settings in line with the rest of the spells - Fixes earthquake not respecting the settings at all - Adds a separate config option for dispenser block damage and updates the description for the existing settings to reflect the changes
This commit is contained in:
@@ -1332,9 +1332,11 @@ config.ebwizardry.players_move_each_other.tooltip=Whether to allow players to mo
|
||||
config.ebwizardry.players_move_each_other.true=Yes - let the games begin!
|
||||
config.ebwizardry.players_move_each_other.false=No - I won't be pushed around
|
||||
config.ebwizardry.player_block_damage=Player Block Damage
|
||||
config.ebwizardry.player_block_damage.tooltip=Whether spells cast by players can destroy blocks in the world. Disable this to prevent griefing. To prevent non-players from destroying blocks with magic, use the mobGriefing gamerule.
|
||||
config.ebwizardry.player_block_damage.tooltip=Whether spells cast by players can destroy blocks in the world. Wizardry makes every attempt to respect protection mods and plugins, but cannot guarantee it will work in all cases for every mod. If you need absolutely watertight anti-grief, disable this setting. (N.B. This setting only affects players. To prevent mobs from destroying blocks with magic, use the mobGriefing gamerule.)
|
||||
config.ebwizardry.player_block_damage.true=Yes - kaboom!
|
||||
config.ebwizardry.player_block_damage.false=No - activate anti-grief (TM)
|
||||
config.ebwizardry.dispenser_block_damage=Dispenser Block Damage
|
||||
config.ebwizardry.dispenser_block_damage.tooltip=Whether spells cast by dispensers can destroy blocks in the world. Wizardry makes every attempt to respect protection mods and plugins, but cannot guarantee it will work in all cases for every mod. If you need absolutely watertight anti-grief, disable this setting.
|
||||
config.ebwizardry.telekinetic_disarmament=Telekinetic Disarmament
|
||||
config.ebwizardry.telekinetic_disarmament.tooltip=Whether to allow players to disarm other players using the telekinesis spell. Disable to prevent stealing of items.
|
||||
config.ebwizardry.telekinetic_disarmament.true=Yes - let people steal things
|
||||
|
||||
@@ -1332,9 +1332,11 @@ config.ebwizardry.players_move_each_other.tooltip=Whether to allow players to mo
|
||||
config.ebwizardry.players_move_each_other.true=Yes - let the games begin!
|
||||
config.ebwizardry.players_move_each_other.false=No - I won't be pushed around
|
||||
config.ebwizardry.player_block_damage=Player Block Damage
|
||||
config.ebwizardry.player_block_damage.tooltip=Whether spells cast by players can destroy blocks in the world. Disable this to prevent griefing. To prevent non-players from destroying blocks with magic, use the mobGriefing gamerule.
|
||||
config.ebwizardry.player_block_damage.tooltip=Whether spells cast by players can destroy blocks in the world. Wizardry makes every attempt to respect protection mods and plugins, but cannot guarantee it will work in all cases for every mod. If you need absolutely watertight anti-grief, disable this setting. (N.B. This setting only affects players. To prevent mobs from destroying blocks with magic, use the mobGriefing gamerule.)
|
||||
config.ebwizardry.player_block_damage.true=Yes - kaboom!
|
||||
config.ebwizardry.player_block_damage.false=No - activate anti-grief (TM)
|
||||
config.ebwizardry.dispenser_block_damage=Dispenser Block Damage
|
||||
config.ebwizardry.dispenser_block_damage.tooltip=Whether spells cast by dispensers can destroy blocks in the world. Wizardry makes every attempt to respect protection mods and plugins, but cannot guarantee it will work in all cases for every mod. If you need absolutely watertight anti-grief, disable this setting.
|
||||
config.ebwizardry.telekinetic_disarmament=Telekinetic Disarmament
|
||||
config.ebwizardry.telekinetic_disarmament.tooltip=Whether to allow players to disarm other players using the telekinesis spell. Disable to prevent stealing of items.
|
||||
config.ebwizardry.telekinetic_disarmament.true=Yes - let people steal things
|
||||
|
||||
Reference in New Issue
Block a user