Well of Suffering item drop control (#1388)

* Added a new DamageSource for the Well of Suffering
Added an event handler for death through Well of Suffering
Added a config option to enable (true) or disable (false) Well of Suffering Mob drops.

* Moved the DamageSource creation to RitualManager
Renamed the new DamageSource to "RITUAL_DAMAGE"
DamageSource "RITUAL_DAMAGE" is now used by RitualForsakenSoul and RitualWellOfSuffering
Added death message string for "RITUAL_DAMAGE" for en_US and de_DE

* Cleanup, removed the ability to damage entities in creative mode (creative mode should be considered as having infinite health, the rituals only damage mobs anyways).

* Update GenericHandler.java
This commit is contained in:
AEon - Tobias 2018-08-26 21:55:23 +02:00 committed by Nick Ignoffo
parent 753958ac9c
commit 7942465edc
7 changed files with 48 additions and 19 deletions

View file

@ -857,6 +857,9 @@ bloodmagic.keybind.open_holding=Öffne Siegel der Aufbewahrung
bloodmagic.keybind.cycle_holding_pos=Siegelrotation (+)
bloodmagic.keybind.cycle_holding_neg=Siegelrotation (-)
death.attack.ritual_damage=%1$s wurde für ein Ritual geopfert.
death.attack.ritual_damage.player=%2$s hat %1$s für ein Ritual geopfert.
# JustEnoughItems
jei.bloodmagic.recipe.altar=Blutaltar
jei.bloodmagic.recipe.binding=Alchemische Anordnung (Bindung)

View file

@ -789,6 +789,9 @@ chat.bloodmagic.mimic.detectRadius.down=Player detection radius has been decreas
chat.bloodmagic.mimic.potionSpawnRadius.up=Potion spawning radius has been increased to: %d blocks.
chat.bloodmagic.mimic.potionSpawnRadius.down=Potion spawning radius has been decreased to: %d blocks.
death.attack.ritual_damage=%1$s has been sacrificed for a ritual.
death.attack.ritual_damage.player=%2$s has sacrificed %1$s for a ritual.
# entity
entity.bloodmagic.SentientSpecter.name=Sentient Specter
entity.bloodmagic.Mimic.name=Mimic
@ -849,6 +852,8 @@ commands.bloodmagic.soulnetwork.notACommand=That is not a valid command
commands.bloodmagic.soulnetwork.fillMax.success=Successfully filled %s's Soul Network to their orb max!
commands.bloodmagic.soulnetwork.create.success=Successfully created %s's Soul Network (Orb tier: %d)
# GUI
tile.bloodmagic.inputNode.name=Input Node
tile.bloodmagic.outputNode.name=Output Node