Class GlowEffect

java.lang.Object
net.glowstone.constants.GlowEffect

public final class GlowEffect extends Object
Conversion of data classes to raw values for Effects.
  • Method Details

    • getDataValue

      public static <T> int getDataValue(org.bukkit.Effect effect, T data)
      Get the raw data value for an Effect and its data object.
      Type Parameters:
      T - the type of data
      Parameters:
      effect - the Effect whose data to calculate
      data - the original data
      Returns:
      the raw data value