FloodLights

FloodLights

1M Downloads

UV Floodlight Damage Source

mallrat208 opened this issue ยท 1 comments

commented

The UV Floodlight currently deals 'Cactus' type damage and shows the Cactus death message "X was pricked to death".

It would be nice if it could have it's own DamageSource. It would open up the ability for the player to find a way to either reduce or eliminate the damage they take from UV Lamps if they for some reason need to be under them be it from your mod or another, It would let you to have a custom death message, and quite possibly the best part, It's super easy to implement.

public static DamageSource uvlight = new DamageSource("uvlight");
Declared somewhere with the UVLightBlock TileEntity to updated to use it and you're done.

commented

Awesome ๐Ÿ‘