Interface Colors


public interface Colors
Interface for grabbing the user's color preferences
  • Method Details

    • primaryColor

      ColorSetting primaryColor()
      Returns:
      the primary theme color
    • getRainbowColor

      int getRainbowColor(ColorSetting setting, int offsetMs)
      Uses ColorUtils to get either a rainbow or gradient color based on color preferences
    • getEntityColor

      Color getEntityColor(net.minecraft.world.entity.Entity entity, Colors.ColorMode mode)
    • getBlockEntityColor

      Color getBlockEntityColor(net.minecraft.world.level.block.entity.BlockEntity tileEntity, Colors.ColorMode mode)