Class Damage.EnvironmentSource

java.lang.Object
com.hypixel.hytale.server.core.modules.entity.damage.Damage.EnvironmentSource
All Implemented Interfaces:
Damage.Source
Enclosing class:
Damage

public static class Damage.EnvironmentSource extends Object implements Damage.Source
A damage source that is caused by the environment, such as block explosions.
  • Constructor Details

    • EnvironmentSource

      public EnvironmentSource(@Nonnull String deathMessageKey)
      Default Constructor for a Damage.EnvironmentSource instance
      Parameters:
      deathMessageKey - The localization key of the death message for this environment damage.
  • Method Details